public class FinderException extends SecurityException
SecurityException
and is thrown when DAO cannot find entity.
See the GlobalErrIds
javadoc for list of error ids.Constructor and Description |
---|
FinderException(int errorId,
String msg)
Create an exception with an error code that maps to
GlobalErrIds and message text. |
FinderException(int errorId,
String msg,
Exception previousException)
Create exception with error id, message and related exception.
|
getErrorId
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public FinderException(int errorId, String msg)
GlobalErrIds
and message text.errorId
- see GlobalErrIds
for list of valid error codes that can be set. Valid values between
0 & 100_000.msg
- contains textual information including method of origin and description of the root cause.public FinderException(int errorId, String msg, Exception previousException)
errorId
- see GlobalErrIds
for list of valid error codes that can be set. Valid values between
0 & 100_000.msg
- contains textual information including method of origin and description of the root cause.previousException
- contains reference to related exception which usually is system related, i.e. ldap.Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621