public class ServiceBrokerInvalidParametersException extends ServiceBrokerException
Throwing this exception will result in an HTTP status code 422 UNPROCESSABLE ENTITY being returned to the platform.
Constructor and Description |
---|
ServiceBrokerInvalidParametersException(java.lang.String message)
Construct an exception with the provided message.
|
ServiceBrokerInvalidParametersException(java.lang.String errorCode,
java.lang.String message)
Construct an exception with the provided error code and message.
|
ServiceBrokerInvalidParametersException(java.lang.String errorCode,
java.lang.String message,
java.lang.Throwable cause)
Construct an exception with the provided error code, message and cause.
|
ServiceBrokerInvalidParametersException(java.lang.String message,
java.lang.Throwable cause)
Construct an exception with the provided message and cause.
|
ServiceBrokerInvalidParametersException(java.lang.Throwable cause)
Construct an exception with a default message and the provided cause.
|
getErrorMessage
public ServiceBrokerInvalidParametersException(java.lang.String message)
message
- the exception messagepublic ServiceBrokerInvalidParametersException(java.lang.String errorCode, java.lang.String message)
errorCode
- a single word in camel case that uniquely identifies the error conditionmessage
- the exception messagepublic ServiceBrokerInvalidParametersException(java.lang.String message, java.lang.Throwable cause)
message
- the exception messagecause
- the cause of the exceptionpublic ServiceBrokerInvalidParametersException(java.lang.String errorCode, java.lang.String message, java.lang.Throwable cause)
errorCode
- a single word in camel case that uniquely identifies the error conditionmessage
- the exception messagecause
- the cause of the exceptionpublic ServiceBrokerInvalidParametersException(java.lang.Throwable cause)
cause
- the cause of the exception