public class ValidationException extends SecurityException
SecurityException
and is thrown when Fortress cannot validate entity.
See the GlobalErrIds
javadoc for list of error ids.Constructor and Description |
---|
ValidationException(int errorId,
String msg)
Create an exception with an error code that maps to
GlobalErrIds and message text. |
getErrorId
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ValidationException(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.Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621