exceptions

Undocumented in source.

Members

Classes

ClosedInputStreamException
class 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. <b>Note, the class is not derived from InterruptedStreamException.</b>

ClosedOutputStreamException
class 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. <b>Note, the class is not derived from InterruptedStreamException.</b>

InterruptedInputException
class 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
class 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
class InterruptedStreamException

Abstract. If you want to catch simply all stream interruptions.

RecoverableHellException
class RecoverableHellException

If you have some good reason to not use assert(0).<br/> In other words, if you really think you need a recoverable assert(0).<br/> Be careful. See <a href="https://forum.dlang.org/post/mailman.1239.1490287548.31550.digitalmars-d@puremagic.com" target="_blank">the discussion</a>.

UserBehaviourException
class UserBehaviourException

Abstract. Just a base to differ the user things from the system things.

Meta