Class GatewayException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.hyperledger.fabric.gateway.GatewayException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ContractException

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

    • GatewayException

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

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

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