endurox-java
 All Classes Namespaces Files Functions Variables Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
org.endurox.exceptions.UbfException Class Reference

Public Member Functions

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

Static Public Member Functions

static UbfException create (int tperrno, String msg)
 

Detailed Description

ATMI Base exception

Constructor & Destructor Documentation

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

Create ATMI Exception

Parameters
tperrnotp error code
msgerror message
org.endurox.exceptions.UbfException.UbfException ( int  tperrno,
String  msg,
Throwable  throwable 
)

ATMI Exception, with embedded error

Parameters
tperrnoerror number
msgerror message
throwable

Member Function Documentation

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

Create exception (exact instance)

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

return error code

Returns
UBF error code (see BE* error codes)