endurox-java
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

◆ UbfException() [1/2]

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

Create ATMI Exception

Parameters
tperrnotp error code
msgerror message

◆ UbfException() [2/2]

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

◆ create()

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

Create exception (exact instance)

Parameters
tperrnoerror code
msgerror message
Returns

◆ getErrorCode()

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

return error code

Returns
UBF error code (see BE* error codes)