Package edu.rit.mp
Class ChannelClosedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
edu.rit.mp.ChannelClosedException
- All Implemented Interfaces:
Serializable
Class ChannelClosedException is thrown to indicate that an I/O operation
failed because the channel was closed.
- Version:
- 26-Oct-2006
- Author:
- Alan Kaminsky
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate a new channel closed exception with no detail message and no cause.Create a new channel closed exception with the given detail message and no cause.ChannelClosedException
(String msg, Throwable cause) Create a new channel closed exception with the given detail message and the given cause.ChannelClosedException
(Throwable cause) Create a new channel closed exception with no detail message and the given cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ChannelClosedException
public ChannelClosedException()Create a new channel closed exception with no detail message and no cause. -
ChannelClosedException
Create a new channel closed exception with the given detail message and no cause.- Parameters:
msg
- Detail message.
-
ChannelClosedException
Create a new channel closed exception with no detail message and the given cause.- Parameters:
cause
- Cause.
-
ChannelClosedException
Create a new channel closed exception with the given detail message and the given cause.- Parameters:
msg
- Detail message.cause
- Cause.
-