public class InvalidParameterException extends OMRSCheckedExceptionBase
| Constructor and Description |
|---|
InvalidParameterException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction)
This is the typical constructor used for creating a InvalidParameterException.
|
InvalidParameterException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction,
String parameterName)
This is the typical constructor used for creating a InvalidParameterException.
|
InvalidParameterException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction,
String parameterName,
Throwable caughtError)
This is the constructor used for creating a InvalidParameterException that resulted from a previous error.
|
InvalidParameterException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction,
Throwable caughtError)
This is the constructor used for creating a InvalidParameterException that resulted from a previous error.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getParameterName()
Return the invalid parameter's name, if known.
|
String |
toString()
JSON-style toString
|
equals, getErrorMessage, getRelatedProperties, getReportedCaughtException, getReportedHTTPCode, getReportedSystemAction, getReportedUserAction, getReportingActionDescription, getReportingClassName, hashCodeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic InvalidParameterException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction)
httpCode - http response code to use if this exception flows over a REST callclassName - 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 InvalidParameterException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction,
String parameterName)
httpCode - http response code to use if this exception flows over a REST callclassName - 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 errorparameterName - name of the invalid parameter if knownpublic InvalidParameterException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction,
Throwable caughtError)
httpCode - http response code to use if this exception flows over a REST callclassName - 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 errorcaughtError - the error that resulted in this exception.public InvalidParameterException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction,
String parameterName,
Throwable caughtError)
httpCode - http response code to use if this exception flows over a REST callclassName - 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 errorparameterName - name of the invalid parameter if knowncaughtError - the error that resulted in this exception.public String getParameterName()
public String toString()
toString in class OCFCheckedExceptionBaseCopyright © 2018–2019 ODPi. All rights reserved.