public class InvalidParameterException extends SubjectAreaCheckedExceptionBase
| 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 invalidPropertyName,
String invalidPropertyValue) |
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 |
getInvalidPropertyName()
invalid property name
|
String |
getInvalidPropertyValue()
invalid property value
|
Map<String,Object> |
getRelatedProperties() |
void |
setRelatedProperties(Map<String,Object> relatedProperties) |
getErrorMessage, getReportedCaughtException, getReportedHTTPCode, getReportedSystemAction, getReportedUserAction, getReportingActionDescription, getReportingClassNameaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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,
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.Copyright © 2018–2020 ODPi. All rights reserved.