|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--org.webmacro.RethrowableException | +--org.webmacro.WebMacroException | +--org.webmacro.ContextException | +--org.webmacro.PropertyException
A PropertyException indicates some failure to evaluate a property in a context or against some other object. For example, if you attempted to introspect for a value that does not exist, or access a non-existant value in a context, or access a protected or private field.
Inner Class Summary | |
static class |
PropertyException.InvalidTypeException
Exception thrown when a Variable isn't of the specified class type. |
static class |
PropertyException.NoSuchMethodException
NoSuchMethodException indicates that the variable did not have the requested method. |
static class |
PropertyException.NoSuchMethodWithArgumentsException
NoSuchMethodWithArgumentsException indicates that the variable did not have the a method with the request name and argument list |
static class |
PropertyException.NoSuchPropertyException
NoSuchPropertyException indicates that the variable did not have the requested property. |
static class |
PropertyException.NoSuchVariableException
NoSuchVariableException indicates that a variable did not exist in the context against which it was being evaluated. |
static class |
PropertyException.NullToStringException
NullStringException indicates that a variable exists but its .toString() method returns null |
static class |
PropertyException.NullValueException
NullValueException indicates that a variable or property exists, but evaluated to null in the context against which it was being evaluated. |
static class |
PropertyException.RestrictedMethodException
RestrictedMethodException indicates that the requested method may not be invoked from a template due to security constraints |
static class |
PropertyException.RestrictedPropertyException
RestrictedPropertyException indicates that the requested property may not be invoked from a template due to security constraints |
static class |
PropertyException.VoidValueException
VoidValueException indicates that someone tried to use the return value of a void method |
Constructor Summary | |
PropertyException(java.lang.String reason)
|
|
PropertyException(java.lang.String reason,
java.lang.Throwable e)
|
Methods inherited from class org.webmacro.RethrowableException |
getCaught, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PropertyException(java.lang.String reason)
public PropertyException(java.lang.String reason, java.lang.Throwable e)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |