org.jboss.narayana.blacktie.jatmibroker.xatmi
Class ConnectionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Constructor Summary
ConnectionException(int tperrno, String string)
          Create an exception without a root cause
ConnectionException(int tperrno, String string, Throwable t)
          Create a new exception giving it the error code.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 number
string - The message
Method Detail

getTperrno

public int getTperrno()
Get the error code

Returns:
The error code


Copyright © 2011. All Rights Reserved.