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