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