Class GatewayException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    ContractException

    public class GatewayException
    extends java.lang.Exception
    Base class for exceptions thrown by the Gateway SDK or by components of the underlying Fabric.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      GatewayException​(java.lang.String message)
      Constructs a new exception with the specified detail message.
      GatewayException​(java.lang.String message, java.lang.Throwable cause)
      Constructs a new exception with the specified detail message and cause.
      GatewayException​(java.lang.Throwable cause)
      Constructs a new exception with the specified cause.
    • 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

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • GatewayException

        public GatewayException​(java.lang.String message)
        Constructs a new exception with the specified detail message. The cause is not initialized.
        Parameters:
        message - the detail message.
      • GatewayException

        public GatewayException​(java.lang.Throwable cause)
        Constructs a new exception with the specified cause. The detail message is not initialized.
        Parameters:
        cause - the cause.
      • GatewayException

        public GatewayException​(java.lang.String message,
                                java.lang.Throwable cause)
        Constructs a new exception with the specified detail message and cause.
        Parameters:
        message - the detail message.
        cause - the cause.