Package org.cryptacular
Class StreamException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.cryptacular.StreamException
- All Implemented Interfaces:
Serializable
Runtime exception thrown on stream IO errors. Effectively a runtime equivalent of
IOException
.- Author:
- Middleware Services
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStreamException
(IOException cause) Creates a new instance with causing IO exception.StreamException
(String message) Creates a new instance with the given error message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
StreamException
Creates a new instance with the given error message.- Parameters:
message
- Error message.
-
StreamException
Creates a new instance with causing IO exception.- Parameters:
cause
- IO exception to wrap.
-