org.jboss.narayana.blacktie.jatmibroker.xatmi
Class ConnectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jboss.narayana.blacktie.jatmibroker.xatmi.ConnectionException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ResponseException
public class ConnectionException
- extends Exception
This is the exception that is raised when the connection to Blacktie is
suffering.
- See Also:
- Serialized Form
Method Summary |
int |
getTperrno()
Get the error code |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ConnectionException
public ConnectionException(int tperrno,
String string,
Throwable t)
- Create a new exception giving it the error code.
- Parameters:
tperrno
- The error code
ConnectionException
public ConnectionException(int tperrno,
String string)
- Create an exception without a root cause
- Parameters:
tperrno
- The error numberstring
- The message
getTperrno
public int getTperrno()
- Get the error code
- Returns:
- The error code
Copyright © 2011. All Rights Reserved.