Package org.hyperledger.fabric.gateway
Class GatewayException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.hyperledger.fabric.gateway.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.
-
-
-
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.
-
-