|
VLab Common 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
pl.psnc.vlab.exception.AbstractException
public abstract class AbstractException
AbstractException class - abstract class represents a generic
exception
| Constructor Summary | |
|---|---|
AbstractException(java.lang.Integer errorCode)
Creates a new AbstractException with error code specified |
|
AbstractException(java.lang.Integer errorCode,
java.lang.Exception sourceExc)
Creates a new AbstractException with error code and source exception specified |
|
AbstractException(java.lang.Integer errorCode,
java.lang.String message)
Creates a new AbstractException with error code and error message specified |
|
AbstractException(java.lang.Integer errorCode,
java.lang.String message,
java.lang.Exception sourceExc)
Creates a new AbstractException with error code, error message and source exception specified |
|
| Method Summary | |
|---|---|
abstract java.lang.String |
getBundle()
Get bundle with the i18n keys for the given exception |
int |
getErrorCode()
Returns error code of this exception |
java.lang.String |
getLocalizedMessage()
|
void |
printStackTrace()
|
void |
printStackTrace(java.io.PrintStream printStream)
|
void |
printStackTrace(java.io.PrintWriter printWriter)
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractException(java.lang.Integer errorCode)
errorCode - error code
public AbstractException(java.lang.Integer errorCode,
java.lang.Exception sourceExc)
errorCode - error codesourceExc - source exception, which caused this event
public AbstractException(java.lang.Integer errorCode,
java.lang.String message)
errorCode - error codemessage - error message
public AbstractException(java.lang.Integer errorCode,
java.lang.String message,
java.lang.Exception sourceExc)
errorCode - error codemessage - error messagesourceExc - source exception, which caused this event| Method Detail |
|---|
public abstract java.lang.String getBundle()
public java.lang.String getLocalizedMessage()
getLocalizedMessage in class java.lang.Throwablepublic void printStackTrace()
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream printStream)
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintWriter printWriter)
printStackTrace in class java.lang.Throwablepublic int getErrorCode()
|
VLab Common 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||