public class TypeDefNotSupportedException extends OMRSCheckedExceptionBase
| Constructor and Description |
|---|
TypeDefNotSupportedException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction)
This is the typical constructor for creating a TypeDefNotSupportedException.
|
TypeDefNotSupportedException(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
TypeDefNotSupportedException 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 TypeDefNotSupportedException(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 TypeDefNotSupportedException(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–2019 ODPi. All rights reserved.