|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.vii.brillien.kernel.BrillienException
public class BrillienException
Basic Exception class used in almost every "problematical" behavior in Brillien
Field Summary | |
---|---|
protected int |
errorCode
Error code of the exception |
protected Object |
value
Optional attachement value |
Constructor Summary | |
---|---|
BrillienException(int errorCode,
String s)
|
|
BrillienException(int errorCode,
String s,
Object value)
|
|
BrillienException(int errorCode,
String message,
Throwable cause)
|
|
BrillienException(int errorCode,
String message,
Throwable cause,
Object value)
|
|
BrillienException(int errorCode,
Throwable cause)
|
|
BrillienException(String s)
|
|
BrillienException(String message,
Throwable cause)
|
|
BrillienException(Throwable cause)
|
Method Summary | |
---|---|
protected static Throwable |
getCause(Throwable cause)
Service method to get the lowest cause of an exceptional event |
int |
getErrorCode()
Getter method for field errorCode |
String |
getMessage()
|
Object |
getValue()
Setter method for field value |
static BrillienException |
raise(int errorCode,
String message)
Factory method to aid exception creation |
static BrillienException |
raise(int errorCode,
String message,
Object payLoad)
Factory method to aid exception creation |
static BrillienException |
raise(String message)
Factory method to aid exception creation |
void |
setErrorCode(int errorCode)
Setter method for field errorCode |
void |
setValue(Object value)
Setter method for field value |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, 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 |
---|
protected int errorCode
protected Object value
Constructor Detail |
---|
public BrillienException(String s)
public BrillienException(int errorCode, String s)
public BrillienException(int errorCode, String s, Object value)
public BrillienException(Throwable cause)
public BrillienException(int errorCode, Throwable cause)
public BrillienException(String message, Throwable cause)
public BrillienException(int errorCode, String message, Throwable cause)
public BrillienException(int errorCode, String message, Throwable cause, Object value)
Method Detail |
---|
public int getErrorCode()
public void setErrorCode(int errorCode)
public Object getValue()
public void setValue(Object value)
protected static Throwable getCause(Throwable cause)
public String getMessage()
getMessage
in class Throwable
public static BrillienException raise(String message)
public static BrillienException raise(int errorCode, String message)
public static BrillienException raise(int errorCode, String message, Object payLoad)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |