|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.ceryle.wiki.plugin.query.QueryException
org.ceryle.wiki.plugin.assertion.AssertionException
org.ceryle.wiki.plugin.assertion.filter.FilterException
public class FilterException
Extends AssertionException as
a simple typed exception for use by assertion/association filters.
| Field Summary | |
|---|---|
static int |
FILTER_ERROR
An exception type constant indicating an error occurring during assertion processing. |
| Fields inherited from class org.ceryle.wiki.plugin.assertion.AssertionException |
|---|
MULTIPLE_UNDEFINED, OBJECT_UNDEFINED, PAGE_DOES_NOT_EXIST, PAGENAME_UNDEFINED, PREDICATE_UNDEFINED, PROCESS_ERROR, SUBJECT_UNDEFINED, TEMPLATE_ERROR, TERM_UNDEFINED |
| Fields inherited from class org.ceryle.wiki.plugin.query.QueryException |
|---|
GRAMMAR_ERROR, m_type, PARAMETER_ERROR, QUERY_ERROR, SYNTAX_ERROR, UNKNOWN_ERROR |
| Constructor Summary | |
|---|---|
FilterException(int type)
Constructor for an FilterException with a type and no message. |
|
FilterException(int type,
String message)
Constructor for an FilterException with a type and message. |
|
FilterException(String pagename,
int type)
Constructor for an FilterException with an optional page name, a type, and no message. |
|
FilterException(String pagename,
int type,
String message)
Constructor for an FilterException with an optional page name, a type, and message. |
|
| Method Summary | |
|---|---|
static String |
getTypeDescription(int type,
Throwable throwable)
Return a textual description of the exception type, suitable as an exception "title". |
protected void |
setType(int type)
Sets the type of this FilterException. |
| Methods inherited from class org.ceryle.wiki.plugin.assertion.AssertionException |
|---|
getObject, getPageName, getPredicate, getSubject, getTypeDescription |
| Methods inherited from class org.ceryle.wiki.plugin.query.QueryException |
|---|
getType |
| 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 |
| Field Detail |
|---|
public static final int FILTER_ERROR
| Constructor Detail |
|---|
public FilterException(int type)
getTypeDescription(int,Throwable).
public FilterException(String pagename,
int type)
getTypeDescription(int,Throwable).
public FilterException(int type,
String message)
public FilterException(String pagename,
int type,
String message)
| Method Detail |
|---|
protected void setType(int type)
setType in class AssertionException
public static String getTypeDescription(int type,
Throwable throwable)
type - the type of the descriptionthrowable - an optional Throwable (e.g., Exception)FILTER_ERROR,
AssertionException.getTypeDescription(int,Throwable)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||