    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.w3c.tools.resources.IllegalAttributeAccess

    java.lang.Object
       |
       +----java.lang.Throwable
               |
               +----java.lang.Exception
                       |
                       +----java.lang.RuntimeException
                               |
                               +----org.w3c.tools.resources.IllegalAttributeAccess

public class IllegalAttributeAccess
extends RuntimeException

The generic exception for illegal attribute access. Depending on this parameter this exception can indicate:

- That an attribute can't be set to a given value.
- That the attribute isn't defined for the given resource.

##

IllegalAttributeAccess(AttributeHolder, Attribute)
  This attribute isn't defined by the given holder.
IllegalAttributeAccess(AttributeHolder, Attribute, Object)
  The proposed value for the attribute doesn't match the expected type.
IllegalAttributeAccess(AttributeHolder, Attribute, String)
  Invalid access to an attribute value.
IllegalAttributeAccess(AttributeHolder, int)
  This attribute index isn't valid for the given holder.
IllegalAttributeAccess(AttributeHolder, String)
  Invalid access to an attribute.

##

IllegalAttributeAccess

     public IllegalAttributeAccess(AttributeHolder holder,
                                   Attribute attr)

  This attribute isn't defined by the given holder.

  Parameters:
    holder - The holder that got the exception.
    attr - The unknown atribute.

IllegalAttributeAccess

     public IllegalAttributeAccess(AttributeHolder holder,
                                   int idx)

  This attribute index isn't valid for the given holder.

  Parameters:
    holder - The holder that got the exception.
    idx - The erred index.

IllegalAttributeAccess

     public IllegalAttributeAccess(AttributeHolder holder,
                                   Attribute attr,
                                   Object value)

  The proposed value for the attribute doesn't match the expected type.

  Parameters:
    holder - The holder that got the exception.
    attribute - The attribute that you were trying to set.
    value - The erred value.

IllegalAttributeAccess

     public IllegalAttributeAccess(AttributeHolder holder,
                                   Attribute attr,
                                   String accessor)

  Invalid access to an attribute value. You used an invalid specific accessor to get the value of an attribute.

  Parameters:
    holder - The holder that got the exception.
    attr - The attribute that was accessed.
    accessor - The name of the invalid accessor used.

IllegalAttributeAccess

     public IllegalAttributeAccess(AttributeHolder holder,
                                   String name)

  Invalid access to an attribute.

  Parameters:
    golder - The attribute holder.
    name - The name of the attribute that wan't found.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index