Class DestinationAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sap.cloud.sdk.cloudplatform.connectivity.exception.DestinationAccessException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DestinationOAuthTokenException
,DestinationPathsNotMergeableException
,DestinationTypeNotSupportedException
Thrown if a destination cannot be accessed, is not configured correctly, or does not fulfill certain prerequisites.
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a new exception without any referenced destination name.DestinationAccessException
(String message) Initializes the exception by delegating the message to the super constructor.DestinationAccessException
(String destinationName, String message) Initializes the exception by delegating the message to the super constructor and setting the name of the destination causing the exception.DestinationAccessException
(String destinationName, String message, Throwable cause) Initializes the exception by delegating the message and the causing exception to the super constructor and setting the name of the destination causing the exception.DestinationAccessException
(String message, Throwable cause) Initializes the exception by delegating the message and the causing exception to the super constructor.Initializes the exception by delegating the causing exception to the super constructor. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DestinationAccessException
public DestinationAccessException()Creates a new exception without any referenced destination name. -
DestinationAccessException
Initializes the exception by delegating the message to the super constructor.- Parameters:
message
- The exception message.
-
DestinationAccessException
Initializes the exception by delegating the causing exception to the super constructor.- Parameters:
cause
- The exception that caused the exception to be created.
-
DestinationAccessException
Initializes the exception by delegating the message and the causing exception to the super constructor.- Parameters:
message
- The exception message.cause
- The exception that caused the exception to be created.
-
DestinationAccessException
Initializes the exception by delegating the message to the super constructor and setting the name of the destination causing the exception.- Parameters:
destinationName
- The name of the destination causing this exception.message
- The exception message.
-
DestinationAccessException
public DestinationAccessException(@Nullable String destinationName, @Nullable String message, @Nullable Throwable cause) Initializes the exception by delegating the message and the causing exception to the super constructor and setting the name of the destination causing the exception.- Parameters:
destinationName
- The name of the destination causing this exception.message
- The exception message.cause
- The exception that caused the exception to be created.
-
-
Method Details
-
getDestinationName
-