|
Qizx/open API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
net.axyana.qizxopen.xquery.XQueryException
net.axyana.qizxopen.xquery.XQEvalException
net.axyana.qizxopen.xquery.EmptyException
[Internal use] Thrown when a empty Value is encountered in a context that cannot handle it. Can be caught be enclosing expressions that accept empty sequences.
Nested Class Summary |
Nested classes inherited from class net.axyana.qizxopen.xquery.XQEvalException |
XQEvalException.StackFrame |
Field Summary | |
static EmptyException |
instance
Unique instance. |
Constructor Summary | |
EmptyException(java.lang.String reason)
|
Method Summary | |
static EmptyException |
allowed()
Unique instance. |
Methods inherited from class net.axyana.qizxopen.xquery.XQEvalException |
getContext, getStack, printStack, setContext |
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 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static EmptyException instance
Constructor Detail |
public EmptyException(java.lang.String reason)
Method Detail |
public static EmptyException allowed()
Throwing a statically built exception is perfectly possible in Java. This saves the time needed to copy the call stack into the exception, at the cost of a meaningless printStackTrace(). But we dont care here, because this is meant to simplify the handling of optionally empty arguments.
|
© 2005 Axyana Software | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |