PrivMX DOCS
API Reference/PrivMX Endpoint Java/Errors

PrivmxException

Thrown when a PrivMX Endpoint method encounters an exception.

Constructors

PrivmxException

Creates instance of PrivmxException.

Params

message

String

short information about exception

scope

String

scope of this exception

code

int

unique code of this exception

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

PrivmxException

Creates instance of PrivmxException.

Params

message

String

short information about exception

description

String

information about exception

scope

String

scope of this exception

code

int

unique code of this exception

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

PrivmxException

Creates instance of PrivmxException.

Params

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

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

Fields

description

String Detailed description of the exception.

name

String Native Exception name.

scope

String Scope of the exception.

Methods

getCode

Returns exception code as unsigned int converted to long.

public long getCode()

Returns

long · Exception code

getFull

Returns full information about exception.

public String getFull()

Returns

String · Full information about exception

toString

Returns full information about the exception.

See: #getFull.

public String toString()

Returns

String · Full information about exception

We use cookies on our website. We use them to ensure the proper functioning of the site and, if you agree, for purposes we set, such as analytics or marketing.