Class ServiceBrokerApiVersionErrorMessage
java.lang.Object
org.springframework.cloud.servicebroker.exception.ServiceBrokerApiVersionErrorMessage
Provides a formatted message indicating that the service broker does not support the
version of the Open Service Broker API provided by the platform.
- Author:
- Roy Clarkson
-
Method Summary
-
Method Details
-
toString
-
from
public static ServiceBrokerApiVersionErrorMessage from(String expectedVersion, String providedVersion) Construct a message with the expected and provided version numbers.- Parameters:
expectedVersion
- the version expected by the service brokerprovidedVersion
- the version provided by the platform- Returns:
- error message
-