public abstract class BaseException extends Exception implements StandardException
java.lang.Exception
. The BaseException
class adds int attribute which stores the necessary error code as required by all checked exceptions in this system.
The BaseException class has been extended by SecurityException
which is then declared thrown on most Fortress public APIs.
See the GlobalErrIds
javadoc for list of error ids that will be set.Modifier and Type | Method and Description |
---|---|
int |
getErrorId()
Return the error id that is defined by this class
GlobalErrIds . |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public int getErrorId()
GlobalErrIds
.getErrorId
in interface StandardException
GlobalErrIds
. Valid values for Fortress error codes fall between 0 and 100_000.Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621