Package com.tangosol.net.messaging
Class ConnectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.tangosol.io.pof.PortableException
com.tangosol.net.messaging.ConnectionException
- All Implemented Interfaces:
PortableObject
,SerializationSupport
,Serializable
- Direct Known Subclasses:
SuspectConnectionException
Signals that an underlying communication channel used by a Connection may
have been closed, severed, or become unusable.
After this exception is thrown, any attempt to use the Connection (or any Channel created by the Connection) may result in an exception.
- Since:
- Coherence 3.2
- Author:
- jh 2006.06.08
- See Also:
-
Field Summary
Fields inherited from class com.tangosol.io.pof.PortableException
m_asStackRemote, m_sMessage, m_sName
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct a ConnectionException with no detail message.Construct a ConnectionException with the specified detail message.ConnectionException
(String s, com.tangosol.net.messaging.Connection connection) Construct a ConnectionException with the specified detail message and Connection.Construct a ConnectionException from a Throwable and an additional description.ConnectionException
(String s, Throwable e, com.tangosol.net.messaging.Connection connection) Construct a ConnectionException from a Throwable, additional description, and a Connection.Construct a ConnectionException from a Throwable.ConnectionException
(Throwable e, com.tangosol.net.messaging.Connection connection) Construct a ConnectionException from a Throwable and Connection. -
Method Summary
Methods inherited from class com.tangosol.io.pof.PortableException
getFullStackTrace, getMessage, getName, printStackTrace, printStackTrace, readExternal, readResolve, toString, writeExternal
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.tangosol.io.SerializationSupport
writeReplace
-
Constructor Details
-
ConnectionException
public ConnectionException()Construct a ConnectionException with no detail message. -
ConnectionException
Construct a ConnectionException with the specified detail message.- Parameters:
s
- the String that contains a detailed message
-
ConnectionException
Construct a ConnectionException with the specified detail message and Connection.- Parameters:
s
- the String that contains a detailed messageconnection
- the Connection where the error occurred
-
ConnectionException
Construct a ConnectionException from a Throwable.- Parameters:
e
- the Throwable
-
ConnectionException
Construct a ConnectionException from a Throwable and Connection.- Parameters:
e
- the Throwableconnection
- the Connection where the error occurred
-
ConnectionException
Construct a ConnectionException from a Throwable and an additional description.- Parameters:
s
- the additional descriptione
- the Throwable
-
ConnectionException
Construct a ConnectionException from a Throwable, additional description, and a Connection.- Parameters:
s
- the additional descriptione
- the Throwableconnection
- the Connection where the error occurred
-