|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.openanzo.common.exceptions.AnzoRuntimeException
public class AnzoRuntimeException
Runtime exception that encapsulates a AnzoException
| Constructor Summary | |
|---|---|
AnzoRuntimeException(AnzoException anzoException)
Create a RuntimeException caused by an AnzoException |
|
AnzoRuntimeException(int errorCode,
int errorSubCode,
java.lang.String... arguments)
Create a RuntimeException based on given error codes and arguments |
|
AnzoRuntimeException(int errorCode,
int errorSubCode,
java.lang.Throwable cause,
java.lang.String... arguments)
Create a RuntimeException based on given error codes,throwable, and arguments |
|
| Method Summary | |
|---|---|
int |
getErrorCode()
Get error's major code |
int |
getErrorSubCode()
Get error's minor code |
java.lang.String |
getMessage()
Get the exception's error message |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AnzoRuntimeException(AnzoException anzoException)
anzoException - Cause of exception
public AnzoRuntimeException(int errorCode,
int errorSubCode,
java.lang.String... arguments)
errorCode - Major error code of exceptionerrorSubCode - Minor error code of exceptionarguments - Arguments to exception
public AnzoRuntimeException(int errorCode,
int errorSubCode,
java.lang.Throwable cause,
java.lang.String... arguments)
errorCode - Major error code of exceptionerrorSubCode - Minor error code of exceptioncause - Root cause of exceptionarguments - Arguments to exception| Method Detail |
|---|
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic int getErrorCode()
public int getErrorSubCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||