Package org.hyperledger.fabric.gateway
Class GatewayException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.hyperledger.fabric.gateway.GatewayException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ContractException
Base class for exceptions thrown by the Gateway SDK or by components of the underlying Fabric.
- See Also:
-
Constructor Summary
ConstructorDescriptionGatewayException
(String message) Constructs a new exception with the specified detail message.GatewayException
(String message, Throwable cause) Constructs a new exception with the specified detail message and cause.GatewayException
(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
-
Constructor Details
-
GatewayException
Constructs a new exception with the specified detail message. The cause is not initialized.- Parameters:
message
- the detail message.
-
GatewayException
Constructs a new exception with the specified cause. The detail message is not initialized.- Parameters:
cause
- the cause.
-
GatewayException
Constructs a new exception with the specified detail message and cause.- Parameters:
message
- the detail message.cause
- the cause.
-