au.com.prunge.jgenfile
Class OpenChannelException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.io.IOException
|
+--au.com.prunge.jgenfile.JGenFileException
|
+--au.com.prunge.jgenfile.OpenChannelException
- All Implemented Interfaces:
- Serializable
- public class OpenChannelException
- extends JGenFileException
An exception that occurs when an attempt is made to
close a file accessor but the channel acquried with that
accessor is still open.
- Version:
- 1.0
- Author:
- Peter Runge
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
OpenChannelException
public OpenChannelException(Channel channel)
- Constructs an
OpenChannelException
.
- Parameters:
channel
- the channel that is still open.
OpenChannelException
public OpenChannelException(Channel channel,
String s)
- Constructs an
OpenChannelException
.
- Parameters:
channel
- the channel that is still open.s
- the detail message.
getUnclosedChannel
public Channel getUnclosedChannel()
- Returns the channel that was not closed.
- Returns:
- the channel that was not closed.