public class DestinationTypeNotSupportedException extends DestinationAccessException
DestinationType
is not supported by a method.Constructor and Description |
---|
DestinationTypeNotSupportedException()
Creates a new exception without any referenced destination name or type.
|
DestinationTypeNotSupportedException(String destinationName,
DestinationType destinationType)
Initializes the exception by setting a custom message based on the destination type and setting the name and the
type of the causing destination.
|
DestinationTypeNotSupportedException(String destinationName,
DestinationType destinationType,
String message)
Initializes the exception by delegating the message to the super constructor and setting the name and the type of
the causing destination.
|
DestinationTypeNotSupportedException(String destinationName,
DestinationType destinationType,
String message,
Throwable cause)
Initializes the exception by delegating the message and the causing exception to the super constructor and
setting the name and the type of the causing destination.
|
DestinationTypeNotSupportedException(String destinationName,
DestinationType destinationType,
Throwable cause)
Initializes the exception by delegating the causing exception to the super constructor and setting the name and
type of the causing destination.
|
Modifier and Type | Method and Description |
---|---|
DestinationType |
getDestinationType() |
getDestinationName, getErrorResponse
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DestinationTypeNotSupportedException()
public DestinationTypeNotSupportedException(@Nullable String destinationName, @Nullable DestinationType destinationType)
destinationName
- The name of the causing destination.destinationType
- The type of the causing destination.public DestinationTypeNotSupportedException(@Nullable String destinationName, @Nullable DestinationType destinationType, String message)
destinationName
- The name of the causing destination.destinationType
- The type of the causing destination.message
- The exception message.public DestinationTypeNotSupportedException(@Nullable String destinationName, @Nullable DestinationType destinationType, Throwable cause)
destinationName
- The name of the causing destination.destinationType
- The type of the causing destination.cause
- The exception that caused the exception to be created.public DestinationTypeNotSupportedException(@Nullable String destinationName, @Nullable DestinationType destinationType, String message, Throwable cause)
destinationName
- The name of the causing destination.destinationType
- The type of the causing destination.message
- The exception message.cause
- The exception that caused the exception to be created.@Nullable public DestinationType getDestinationType()
Copyright © 2020 SAP SE. All rights reserved.