All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.tools.store.IllegalAttributeAccess

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

public class IllegalAttributeAccess
extends RuntimeException
The generic exception for illegal attribute access. Depending on this parameter this exception can indicate:


Constructor Index

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

Constructors

 o 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.
 o 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.
 o 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.
 o 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.
 o 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