endurox-java
Public Member Functions | Static Public Member Functions | List of all members
org.endurox.exceptions.NstdException Class Reference

Public Member Functions

 NstdException (int tperrno, String msg)
 
 NstdException (int tperrno, String msg, Throwable throwable)
 
int getErrorCode ()
 

Static Public Member Functions

static NstdException create (int tperrno, String msg)
 

Detailed Description

ATMI Base exception

Constructor & Destructor Documentation

◆ NstdException() [1/2]

org.endurox.exceptions.NstdException.NstdException ( int  tperrno,
String  msg 
)

Create ATMI Exception

Parameters
msgerror message
tperrnotp error code

◆ NstdException() [2/2]

org.endurox.exceptions.NstdException.NstdException ( int  tperrno,
String  msg,
Throwable  throwable 
)

ATMI Exception, with embedded error

Parameters
tperrnoerror number
msgerror message
throwable

Member Function Documentation

◆ create()

static NstdException org.endurox.exceptions.NstdException.create ( int  tperrno,
String  msg 
)
static

Create exception (exact instance)

Parameters
tperrnoerror code
msgerror message
Returns

◆ getErrorCode()

int org.endurox.exceptions.NstdException.getErrorCode ( )

return error code

Returns