public class InvalidEntityException extends OMRSCheckedExceptionBase
| Constructor and Description |
|---|
InvalidEntityException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction)
This is the typical constructor for creating an InvalidEntityException.
|
InvalidEntityException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction,
Throwable caughtException)
This constructor is used when an unexpected exception has been caught that needs to be wrapped in a
InvalidEntityException in order to add the essential details about the error, where it occurred and
how to fix it.
|
equals, getErrorMessage, getRelatedProperties, getReportedCaughtException, getReportedHTTPCode, getReportedSystemAction, getReportedUserAction, getReportingActionDescription, getReportingClassName, hashCode, toStringaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic InvalidEntityException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction)
httpCode - code to use across a REST interfaceclassName - name of class reporting erroractionDescription - description of function it was performing when error detectederrorMessage - description of errorsystemAction - actions of the system as a result of the erroruserAction - instructions for correcting the errorpublic InvalidEntityException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction,
Throwable caughtException)
httpCode - code to use across a REST interfaceclassName - name of class reporting erroractionDescription - description of function it was performing when error detectederrorMessage - description of errorsystemAction - actions of the system as a result of the erroruserAction - instructions for correcting the errorcaughtException - the exception/error that caused this exception to be raisedCopyright © 2018–2020 ODPi. All rights reserved.