Module exceptions
Classes
Name | Description |
---|---|
ClosedInputStreamException
|
You are trying to read from a closed input stream with a method, that has mandatory result by design (non-optional, non-nullable). The stream has no data for you, but you read from it. This is almost certainly a bug, but, sometimes, this could be used for the recoverable behaviour. Note, the class is not derived from InterruptedStreamException. |
ClosedOutputStreamException
|
You are trying to write to a closed output stream. This is almost certainly a bug, but, sometimes, this could be used for the recoverable behaviour. Note, the class is not derived from InterruptedStreamException. |
InterruptedInputException
|
The input stream was not closed properly. Somebody is trying to read from it, but the stream can't give anything by some reason. |
InterruptedOutputException
|
The output stream was not closed properly. Somebody is trying to write into it, but it can't receive the data by some reason. |
InterruptedStreamException
|
Abstract. If you want to catch simply all stream interruptions. |
RecoverableHellException
|
If you have some good reason to not use assert(0) .In other words, if you really think you need a recoverable assert(0) .Be careful. See the discussion. |
UserBehaviourException
|
Abstract. Just a base to differ the user things from the system things. |