Share via


ProtectionException(String, String, Throwable) constructor

Initializes a new instance of the ProtectionException class with the specified tag, message, and inner exception.

Signature

public ProtectionException(String tag, String message, Throwable e)

Parameters

Name Datatype Notes
tag
String
The tag for logging.
message
String
The exception message.
e
Throwable
The inner exception.
If the inner exception is an ProtectionException, its type will be the one used for the new exception.

Returns

ProtectionException

Defined in

ProtectionException.java