RTI Routing Service  Version 7.0.0
AdapterException Class Reference

Adapter exception. More...

Inherits Exception.

Public Member Functions

 AdapterException (int nativeCode, String message)
 Creates an AdapterException with a native error code and a message. More...
 
 AdapterException (int nativeCode, String message, Throwable cause)
 Creates an AdapterException with a native error, message and cause. More...
 
 AdapterException (int nativeCode, Throwable cause)
 Creates an AdapterException with a native error, and cause. More...
 
int getNativeCode ()
 Gets the native error code. More...
 

Detailed Description

Adapter exception.

Signals that an error has occurred in some of the adapter APIs.

Constructor & Destructor Documentation

◆ AdapterException() [1/3]

AdapterException ( int  nativeCode,
String  message 
)

Creates an AdapterException with a native error code and a message.

Parameters
nativeCode<<in>> The native error code.
message<<in>> The error message.

◆ AdapterException() [2/3]

AdapterException ( int  nativeCode,
String  message,
Throwable  cause 
)

Creates an AdapterException with a native error, message and cause.

Parameters
nativeCode<<in>> The native error code.
message<<in>> The error message.
cause<<in>> The cause.

◆ AdapterException() [3/3]

AdapterException ( int  nativeCode,
Throwable  cause 
)

Creates an AdapterException with a native error, and cause.

Parameters
nativeCode<<in>> The native error code.
cause<<in>> The cause.

Member Function Documentation

◆ getNativeCode()

int getNativeCode ( )

Gets the native error code.

Returns
Native error code.