Package xal.ca
Class ConnectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
xal.ca.ChannelException
xal.ca.ConnectionException
- All Implemented Interfaces:
Serializable
- Author:
- CKAllen
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates newConnectionException
without detail message.ConnectionException
(Channel channel, String msg) Constructs anConnectionException
with the specified detail message. -
Method Summary
Modifier and TypeMethodDescriptionGet the channel for which the connection exception was thrown.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConnectionException
public ConnectionException()Creates newConnectionException
without detail message. -
ConnectionException
Constructs anConnectionException
with the specified detail message.- Parameters:
channel
- for which the exception was thrownmsg
- the detail message.
-
-
Method Details
-
getChannel
Get the channel for which the connection exception was thrown.- Returns:
- The channel for which the connection exception was thrown.
-