PrivmxException
Thrown when a PrivMX Endpoint method encounters an exception.
Constructors
PrivmxException
Creates instance of `PrivmxException`.
void PrivmxException(
String message,
String scope,
int code
)
Name | Type | Description |
---|---|---|
message | String | short information about exception |
scope | String | scope of this exception |
code | int | unique code of this exception |
PrivmxException
Creates instance of `PrivmxException`.
void PrivmxException(
String message,
String description,
String scope,
int code
)
Name | Type | Description |
---|---|---|
message | String | short information about exception |
description | String | information about exception |
scope | String | scope of this exception |
code | int | unique code of this exception |
PrivmxException
Creates instance of `PrivmxException`.
void PrivmxException(
String message,
String description,
String scope,
int code,
String name
)
Name | Type | Description |
---|---|---|
message | String | brief information about exception |
description | String | detailed information about exception |
scope | String | scope of this exception |
code | int | unique code of this exception |
name | String | special name for this exception |
Fields
description
Detailed description of the exception.
public final String description
name
Native Exception name.
public final String name
scope
Scope of the exception.
public final String scope
Methods
getCode
Returns exception code as `unsigned int` converted to `long`.
public long getCode()
Type | Description |
---|---|
long | Exception code |
getFull
Returns full information about exception.
public String getFull()
Type | Description |
---|---|
String | Full information about exception |
toString
Returns full information about the exception. See: #getFull.
public String toString()
Type | Description |
---|---|
String | Full information about exception |