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

Public Member Functions

TypedBuffer getReplyBuffer ()
 
 AtmiException (int tperrno, String msg)
 
 AtmiException (int tperrno, String msg, Throwable throwable)
 
int getErrorCode ()
 

Static Public Member Functions

static AtmiException create (int tperrno, String msg)
 

Detailed Description

ATMI Base exception

Constructor & Destructor Documentation

◆ AtmiException() [1/2]

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

Create ATMI Exception

Parameters
tperrnotp error code
msgerror message

◆ AtmiException() [2/2]

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

ATMI Exception, with embedded error

Parameters
tperrno
s
throwable

Member Function Documentation

◆ create()

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

Create exception (exact instance)

Parameters
tperrnoerror code
msgerror message
Returns

◆ getErrorCode()

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

return error code

Returns

◆ getReplyBuffer()

TypedBuffer org.endurox.exceptions.AtmiException.getReplyBuffer ( )

Get the reply buffer (if any)

Returns
return reply buffer from tpcall