Package org.hyperledger.fabric.gateway
Class GatewayRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hyperledger.fabric.gateway.GatewayRuntimeException
- All Implemented Interfaces:
Serializable
Runtime exception for gateway classes. Typically indicates misconfiguration or misuse of the API.
- See Also:
-
Constructor Summary
ConstructorDescriptionGatewayRuntimeException
(String message) Constructs a new exception with the specified detail message.GatewayRuntimeException
(String message, Throwable cause) Constructs a new exception with the specified detail message and cause.GatewayRuntimeException
(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
-
GatewayRuntimeException
Constructs a new exception with the specified detail message. The cause is not initialized.- Parameters:
message
- the detail message.
-
GatewayRuntimeException
Constructs a new exception with the specified cause. The detail message is not initialized.- Parameters:
cause
- the cause.
-
GatewayRuntimeException
Constructs a new exception with the specified detail message and cause. The payload is not initialized.- Parameters:
message
- the detail message.cause
- the cause.
-