com.sap.core.connectivity.api

## Class DestinationException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - com.sap.core.connectivity.api.DestinationException

- All Implemented Interfaces:
    Serializable
  Direct Known Subclasses:
    DestinationNotFoundException

      public class DestinationException
      extends Exception

  Common Destination Exception.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DestinationException(String message)`
    `DestinationException(String message, Throwable e)`

  - ### Method Summary

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### DestinationException

          public DestinationException(String message)

      Parameters:
        `message` - the detailed message (which is saved for later retrieval by the `Throwable.getMessage()` method).

    - #### DestinationException

          public DestinationException(String message,
                              Throwable e)

      Parameters:
        `message` - the detailed message (which is saved for later retrieval by the `Throwable.getMessage()` method).
        `e` - the cause (which is saved for later retrieval by the `Throwable.getCause()` method). (A `null` value is permitted, and indicates that the cause is nonexistent or unknown.)

Copyright © 2020 SAP. All Rights Reserved.