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

public class DestinationAccessException extends RuntimeException
Thrown if a destination cannot be accessed, is not configured correctly, or does not fulfill certain prerequisites.
See Also:
  • Constructor Details

    • DestinationAccessException

      public DestinationAccessException()
      Creates a new exception without any referenced destination name.
    • DestinationAccessException

      public DestinationAccessException(@Nullable String message)
      Initializes the exception by delegating the message to the super constructor.
      Parameters:
      message - The exception message.
    • DestinationAccessException

      public DestinationAccessException(@Nullable Throwable cause)
      Initializes the exception by delegating the causing exception to the super constructor.
      Parameters:
      cause - The exception that caused the exception to be created.
    • DestinationAccessException

      public DestinationAccessException(@Nullable String message, @Nullable Throwable cause)
      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

      public DestinationAccessException(@Nullable String destinationName, @Nullable String message)
      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

      @Nullable public String getDestinationName()