Поделиться через


ProtectionException(String, String) constructor

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

Signature

public ProtectionException(String tag, String message)

Parameters

Name Datatype Notes
tag
String
The tag for logging.
message
String
The message thrown.

Returns

ProtectionException

Defined in

ProtectionException.java

Remarks

The tag and message are also logged.