public class AcpException
extends java.lang.RuntimeException
This is the root exception class for the ACP SDK. All ACP-specific exceptions extend this class, enabling catch blocks to handle all ACP errors uniformly when desired.
Exception hierarchy:
AcpException - Base class for all ACP errorsAcpProtocolException - JSON-RPC protocol errors with error codesAcpCapabilityException - Capability negotiation errorsAcpConnectionException - Transport/connection errors| 构造器和说明 |
|---|
AcpException(java.lang.String message)
Constructs a new ACP exception with the specified detail message.
|
AcpException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new ACP exception with the specified detail message and cause.
|
AcpException(java.lang.Throwable cause)
Constructs a new ACP exception with the specified cause.
|
public AcpException(java.lang.String message)
message - the detail messagepublic AcpException(java.lang.String message,
java.lang.Throwable cause)
message - the detail messagecause - the cause of this exceptionpublic AcpException(java.lang.Throwable cause)
cause - the cause of this exception