public class VersionNotSupportedException extends Exception implements WithErrorResponse
Constructor and Description |
---|
VersionNotSupportedException() |
VersionNotSupportedException(String message)
Constructor.
|
VersionNotSupportedException(String message,
Throwable cause)
Constructor.
|
VersionNotSupportedException(Throwable cause)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ResponseWithErrorCode |
getErrorResponse()
Gets the response containing an HTTP error code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public VersionNotSupportedException(@Nullable String message)
message
- The message.public VersionNotSupportedException(@Nullable Throwable cause)
cause
- The error cause.public VersionNotSupportedException(@Nullable String message, @Nullable Throwable cause)
message
- The message.cause
- The error cause.public VersionNotSupportedException()
@Nonnull public ResponseWithErrorCode getErrorResponse()
WithErrorResponse
getErrorResponse
in interface WithErrorResponse
Copyright © 2020 SAP SE. All rights reserved.