MemoableResetException (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

org.bouncycastle.util

## Class MemoableResetException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - java.lang.ClassCastException
        - - org.bouncycastle.util.MemoableResetException

- All Implemented Interfaces:
    java.io.Serializable

      public class MemoableResetException
      extends java.lang.ClassCastException

  Exception to be thrown on a failure to reset an object implementing Memoable.

  The exception extends ClassCastException to enable users to have a single handling case, only introducing specific handling of this one if required.

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MemoableResetException(java.lang.String msg)` Basic Constructor.

  - ### Method Summary

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

    - #### MemoableResetException

          public MemoableResetException(java.lang.String msg)

      Basic Constructor.
      Parameters:
        `msg` - message to be associated with this exception.