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
public class ConnectionException extends PortableException
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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.tangosol.io.pof.PortableException
m_asStackRemote, m_sMessage, m_sName
-
-
Constructor Summary
Constructors Constructor Description ConnectionException()
Construct a ConnectionException with no detail message.ConnectionException(String s)
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.ConnectionException(String s, Throwable e)
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.ConnectionException(Throwable e)
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 Detail
-
ConnectionException
public ConnectionException()
Construct a ConnectionException with no detail message.
-
ConnectionException
public ConnectionException(String s)
Construct a ConnectionException with the specified detail message.- Parameters:
s
- the String that contains a detailed message
-
ConnectionException
public ConnectionException(String s, com.tangosol.net.messaging.Connection connection)
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
public ConnectionException(Throwable e)
Construct a ConnectionException from a Throwable.- Parameters:
e
- the Throwable
-
ConnectionException
public ConnectionException(Throwable e, com.tangosol.net.messaging.Connection connection)
Construct a ConnectionException from a Throwable and Connection.- Parameters:
e
- the Throwableconnection
- the Connection where the error occurred
-
ConnectionException
public ConnectionException(String s, Throwable e)
Construct a ConnectionException from a Throwable and an additional description.- Parameters:
s
- the additional descriptione
- the Throwable
-
ConnectionException
public ConnectionException(String s, Throwable e, com.tangosol.net.messaging.Connection connection)
Construct a ConnectionException from a Throwable, additional description, and a Connection.- Parameters:
s
- the additional descriptione
- the Throwableconnection
- the Connection where the error occurred
-
-