public class ClosingNotAllowedException extends java.lang.IllegalStateException
LimitedReader
or LimitedInputStream
if their close()
method is called
while closing these streams is prohibited.
It does not inherit from IOException
to make sure, that this exception is not caught in a deeper method that catches
all IOException
s and can be handled separately.
Constructor and Description |
---|
ClosingNotAllowedException() |
ClosingNotAllowedException(java.lang.String s) |
ClosingNotAllowedException(java.lang.String message,
java.lang.Throwable cause) |
ClosingNotAllowedException(java.lang.Throwable cause) |
public ClosingNotAllowedException()
public ClosingNotAllowedException(java.lang.String message, java.lang.Throwable cause)
public ClosingNotAllowedException(java.lang.String s)
public ClosingNotAllowedException(java.lang.Throwable cause)