|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.w3c.tools.resources.IllegalAttributeAccess
public class IllegalAttributeAccess
The generic exception for illegal attribute access. Depending on this parameter this exception can indicate:
| Constructor Summary | |
|---|---|
IllegalAttributeAccess(AttributeHolder holder,
Attribute attr)
This attribute isn't defined by the given holder. |
|
IllegalAttributeAccess(AttributeHolder holder,
Attribute attr,
java.lang.Object value)
The proposed value for the attribute doesn't match the expected type. |
|
IllegalAttributeAccess(AttributeHolder holder,
Attribute attr,
java.lang.String accessor)
Invalid access to an attribute value. |
|
IllegalAttributeAccess(AttributeHolder holder,
int idx)
This attribute index isn't valid for the given holder. |
|
IllegalAttributeAccess(AttributeHolder holder,
java.lang.String name)
Invalid access to an attribute. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IllegalAttributeAccess(AttributeHolder holder,
Attribute attr)
holder - The holder that got the exception.attr - The unknown atribute.
public IllegalAttributeAccess(AttributeHolder holder,
int idx)
holder - The holder that got the exception.idx - The erred index.
public IllegalAttributeAccess(AttributeHolder holder,
Attribute attr,
java.lang.Object value)
holder - The holder that got the exception.attribute - The attribute that you were trying to set.value - The erred value.
public IllegalAttributeAccess(AttributeHolder holder,
Attribute attr,
java.lang.String accessor)
holder - The holder that got the exception.attr - The attribute that was accessed.accessor - The name of the invalid accessor used.
public IllegalAttributeAccess(AttributeHolder holder,
java.lang.String name)
golder - The attribute holder.name - The name of the attribute that wan't found.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||