ExceptionInformation 构造函数

定义

重载

ExceptionInformation(Throwable exception)

Instantiates the exception information using the given exception and the default target replica selector.

ExceptionInformation(Throwable exception, TargetReplicaSelector targetReplica)

Instantiates the exception information using the given exception and target replica selector.

ExceptionInformation(Throwable exception)

Instantiates the exception information using the given exception and the default target replica selector.

public ExceptionInformation(Throwable exception)

参数

exception
Throwable

The exception that was received.

ExceptionInformation(Throwable exception, TargetReplicaSelector targetReplica)

Instantiates the exception information using the given exception and target replica selector.

public ExceptionInformation(Throwable exception, TargetReplicaSelector targetReplica)

参数

exception
Throwable

The exception that was received

targetReplica
TargetReplicaSelector

The target replica information

适用于