com.barchart.udt
Class ExceptionUDT
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.net.SocketException
com.barchart.udt.ExceptionUDT
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ExceptionReceiveUDT, ExceptionSendUDT
public class ExceptionUDT
- extends SocketException
The Class ExceptionUDT. Wraps all native UDT exceptions and more.
- See Also:
- Serialized Form
|
Constructor Summary |
protected |
ExceptionUDT(int socketID,
ErrorUDT error,
String comment)
Instantiates a new exception udt for synthetic JNI wrapper exception. |
protected |
ExceptionUDT(int socketID,
int errorCode,
String comment)
Instantiates a new exception udt for native UDT::Exception. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ExceptionUDT
@Native
protected ExceptionUDT(int socketID,
int errorCode,
String comment)
- Instantiates a new exception udt for native UDT::Exception. This
exception is generated in the underlying UDT method.
- Parameters:
socketID - the socket iderrorCode - the error codecomment - the comment
ExceptionUDT
@Native
protected ExceptionUDT(int socketID,
ErrorUDT error,
String comment)
- Instantiates a new exception udt for synthetic JNI wrapper exception.
This exception is generated in the JNI glue code itself.
- Parameters:
socketID - the socket iderror - the errorcomment - the comment
getError
public ErrorUDT getError()
getSocketID
public int getSocketID()
Copyright © 2009-2013 Barchart, Inc.. All Rights Reserved.