gov.sns.ca
Class ConnectionException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--gov.sns.xal.XalException
                    |
                    +--gov.sns.ca.ChannelException
                          |
                          +--gov.sns.ca.ConnectionException
All Implemented Interfaces:
java.io.Serializable

public class ConnectionException
extends ChannelException

See Also:
Serialized Form

Constructor Summary
ConnectionException()
          Creates new ConnectionException without detail message.
ConnectionException(Channel channel, java.lang.String msg)
          Constructs an ConnectionException with the specified detail message.
 
Method Summary
 Channel getChannel()
          Get the channel for which the connection exception was thrown.
 
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()
Creates new ConnectionException without detail message.


ConnectionException

public ConnectionException(Channel channel,
                           java.lang.String msg)
Constructs an ConnectionException with the specified detail message.

Parameters:
msg - the detail message.
Method Detail

getChannel

public Channel getChannel()
Get the channel for which the connection exception was thrown.

Returns:
The channel for which the connection exception was thrown.