Class ServiceBrokerInvalidOriginatingIdentityException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.cloud.servicebroker.exception.ServiceBrokerException
org.springframework.cloud.servicebroker.exception.ServiceBrokerInvalidOriginatingIdentityException
All Implemented Interfaces:
Serializable

public class ServiceBrokerInvalidOriginatingIdentityException extends ServiceBrokerException
Thrown to indicate that parameters passed in the originating identity header are not understood by the service broker.

Throwing this exception will result in an HTTP status code 422 UNPROCESSABLE ENTITY being returned to the platform.

Author:
Roy Clarkson
See Also:
  • Constructor Details

    • ServiceBrokerInvalidOriginatingIdentityException

      public ServiceBrokerInvalidOriginatingIdentityException(String message)
      Construct an exception with the provided message.
      Parameters:
      message - the exception message
    • ServiceBrokerInvalidOriginatingIdentityException

      public ServiceBrokerInvalidOriginatingIdentityException(String message, Throwable cause)
      Construct an exception with the provided message and cause.
      Parameters:
      message - the exception message
      cause - the cause of the exception