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:
java.io.Serializable
public class GatewayRuntimeException extends java.lang.RuntimeException
Runtime exception for gateway classes. Typically indicates misconfiguration or misuse of the API.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GatewayRuntimeException(java.lang.String message)
Constructs a new exception with the specified detail message.GatewayRuntimeException(java.lang.String message, java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause.GatewayRuntimeException(java.lang.Throwable cause)
Constructs a new exception with the specified cause.
-
-
-
Constructor Detail
-
GatewayRuntimeException
public GatewayRuntimeException(java.lang.String message)
Constructs a new exception with the specified detail message. The cause is not initialized.- Parameters:
message
- the detail message.
-
GatewayRuntimeException
public GatewayRuntimeException(java.lang.Throwable cause)
Constructs a new exception with the specified cause. The detail message is not initialized.- Parameters:
cause
- the cause.
-
GatewayRuntimeException
public GatewayRuntimeException(java.lang.String message, java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause. The payload is not initialized.- Parameters:
message
- the detail message.cause
- the cause.
-
-