Skip to main content
reference

PrivmxException

Thrown when a PrivMX Endpoint method encounters an exception.

Constructors

PrivmxException

Creates instance of `PrivmxException`.

 void PrivmxException(
String message,
String scope,
int code
)

NameTypeDescription
messageStringshort information about exception
scopeStringscope of this exception
codeintunique code of this exception

PrivmxException

Creates instance of `PrivmxException`.

 void PrivmxException(
String message,
String description,
String scope,
int code
)

NameTypeDescription
messageStringshort information about exception
descriptionStringinformation about exception
scopeStringscope of this exception
codeintunique code of this exception

PrivmxException

Creates instance of `PrivmxException`.

 void PrivmxException(
String message,
String description,
String scope,
int code,
String name
)

NameTypeDescription
messageStringbrief information about exception
descriptionStringdetailed information about exception
scopeStringscope of this exception
codeintunique code of this exception
nameStringspecial 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()

TypeDescription
long Exception code

getFull

Returns full information about exception.

public String getFull()

TypeDescription
String Full information about exception

toString

Returns full information about the exception. See: #getFull.

public String toString()

TypeDescription
String Full information about exception