Package org.bouncycastle.crypto
Class StreamException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.bouncycastle.crypto.StreamException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
InvalidCipherTextException
,InvalidSignatureException
,PlainInputProcessingException
public class StreamException extends java.io.IOException
Parent class for exceptions arising due to cryptographic operations in the various streams created by the FIPS factory classes.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StreamException(java.lang.String msg)
Base constructor.StreamException(java.lang.String msg, java.lang.Throwable cause)
Constructor when this exception is due to another one.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
getCause()
-
-
-
Constructor Detail
-
StreamException
public StreamException(java.lang.String msg)
Base constructor.- Parameters:
msg
- a message concerning the exception.
-
StreamException
public StreamException(java.lang.String msg, java.lang.Throwable cause)
Constructor when this exception is due to another one.- Parameters:
msg
- a message concerning the exception.cause
- the exception that caused this exception to be thrown.
-
-