|
Bouncy Castle Cryptography Library 1.85 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.bouncycastle.operator.RuntimeOperatorException
Unchecked variant of OperatorException used when an operator method has no
clause to declare a checked exception on.
The streaming operator interfaces in this package extend OutputStream
/ InputStream / java.io.Closeable, whose method signatures
— in particular and the no-args end-of-stream finalisers used
by some calculators — either don't declare at all,
or are inherited from interfaces whose contract precludes additional checked
exceptions. When a cryptographic failure surfaces from one of those points, the
operator wraps it in a so it can still propagate
to the caller without violating the signature. The original failure is available
via Throwable.getCause().
| Constructor Summary | |
RuntimeOperatorException(java.lang.String msg)
Construct an exception with the supplied diagnostic message and no underlying cause. |
|
RuntimeOperatorException(java.lang.String msg,
java.lang.Throwable cause)
Construct an exception with the supplied diagnostic message and the underlying cause. |
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public RuntimeOperatorException(java.lang.String msg)
msg - diagnostic message describing the failure.
public RuntimeOperatorException(java.lang.String msg,
java.lang.Throwable cause)
msg - diagnostic message describing the failure.cause - the underlying exception that triggered the failure, or .
|
Bouncy Castle Cryptography Library 1.85 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||