Class ManualRevertException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ManualRevertException
    extends java.lang.RuntimeException
    ManualRevertException is thrown by Context with user code.

    It's not catchable in the same context in the engine. To simulate this behavior, it doesn't inherit RevertedException. It's converted to UserRevertedException on returning to the caller.

    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCode()  
      • 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

      • ManualRevertException

        public ManualRevertException()
      • ManualRevertException

        public ManualRevertException​(java.lang.String msg)
      • ManualRevertException

        public ManualRevertException​(java.lang.String msg,
                                     java.lang.Throwable cause)
      • ManualRevertException

        public ManualRevertException​(int code,
                                     java.lang.String msg)
    • Method Detail

      • getCode

        public int getCode()