Package dev.restate.sdk.core
Class ProtocolException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- dev.restate.sdk.core.ProtocolException
-
- All Implemented Interfaces:
java.io.Serializable
public class ProtocolException extends java.lang.RuntimeException- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProtocolException(java.lang.String message, java.lang.Throwable cause, int failureCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetFailureCode()Protocol.ErrorMessagetoErrorMessage()
-
-
-
Method Detail
-
getFailureCode
public int getFailureCode()
-
toErrorMessage
public Protocol.ErrorMessage toErrorMessage()
-
-