public class InvalidParameterException extends SubjectAreaCheckedException
| Constructor and Description |
|---|
InvalidParameterException(ExceptionMessageDefinition messageDefinition,
String className,
String actionDescription,
String invalidPropertyName,
String invalidPropertyValue)
This is the typical constructor used for creating an InvalidParameterException
|
InvalidParameterException(ExceptionMessageDefinition messageDefinition,
String className,
String actionDescription,
Throwable caughtError,
String invalidPropertyName,
String invalidPropertyValue)
This is the constructor used for creating an InvalidParameterException when an unexpected error has been caught.
|
| 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) |
toStringequals, getErrorMessage, getReportedCaughtException, getReportedCaughtExceptionClassName, getReportedErrorMessage, getReportedErrorMessageId, getReportedErrorMessageParameters, getReportedHTTPCode, getReportedSystemAction, getReportedUserAction, getReportingActionDescription, getReportingClassName, hashCodeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic InvalidParameterException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, String invalidPropertyName, String invalidPropertyValue)
messageDefinition - content of the messageclassName - name of class reporting erroractionDescription - description of function it was performing when error detectedinvalidPropertyName - invalidPropertyName if there is oneinvalidPropertyValue - invalidPropertyValue if there is onepublic InvalidParameterException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Throwable caughtError, String invalidPropertyName, String invalidPropertyValue)
messageDefinition - content of the messageclassName - name of class reporting erroractionDescription - description of function it was performing when error detectedcaughtError - previous error causing this exceptioninvalidPropertyName - invalidPropertyName if there is oneinvalidPropertyValue - invalidPropertyValue if there is onepublic String getInvalidPropertyName()
public String getInvalidPropertyValue()
public Map<String,Object> getRelatedProperties()
getRelatedProperties in class OCFCheckedExceptionBaseCopyright © 2018–2020 ODPi. All rights reserved.