Package com.iconloop.score.test
Class ManualRevertException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.iconloop.score.test.ManualRevertException
-
- All Implemented Interfaces:
java.io.Serializable
public class ManualRevertException extends java.lang.RuntimeException
ManualRevertException is thrown byContext
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 toUserRevertedException
on returning to the caller.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ManualRevertException()
ManualRevertException(int code, java.lang.String msg)
ManualRevertException(java.lang.String msg)
ManualRevertException(java.lang.String msg, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
-
-
-
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)
-
-