public abstract class BaseRuntimeException extends RuntimeException
GlobalErrIds
javadoc for list of error ids.Modifier | Constructor and Description |
---|---|
protected |
BaseRuntimeException(int errorId,
String msgParam) |
protected |
BaseRuntimeException(int errorId,
String msgParam,
Throwable previousException) |
Modifier and Type | Method and Description |
---|---|
int |
getErrorId()
Return the error id that is defined by this class
GlobalErrIds . |
String |
getMsg()
Return the message for current exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected BaseRuntimeException(int errorId, String msgParam, Throwable previousException)
errorId
- int contains the error id which is defined here GlobalErrIds
.msgParam
- contains message pertaining to exception.previousException
- contains reference to related exception which usually is system related, i.e. ldap.protected BaseRuntimeException(int errorId, String msgParam)
errorId
- int contains the error id which is defined here GlobalErrIds
.msgParam
- contains message pertaining to exception.public String getMsg()
public int getErrorId()
GlobalErrIds
.GlobalErrIds
.Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621