endurox-java
 All Classes Namespaces Files Functions Variables Groups Pages
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

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

Create ATMI Exception

Parameters
msgerror message
tperrnotp error code
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

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

Create exception (exact instance)

Parameters
tperrnoerror code
msgerror message
Returns
int org.endurox.exceptions.NstdException.getErrorCode ( )

return error code

Returns