Package com.github.ambry.clustermap
Class StateTransitionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.github.ambry.clustermap.StateTransitionException
-
- All Implemented Interfaces:
java.io.Serializable
public class StateTransitionException extends java.lang.RuntimeException
An extension ofRuntimeException
used to record exceptions occurred during state transition.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StateTransitionException.TransitionErrorCode
All types of error code that associate withStateTransitionException
.
-
Constructor Summary
Constructors Constructor Description StateTransitionException(java.lang.String s, StateTransitionException.TransitionErrorCode error)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StateTransitionException.TransitionErrorCode
getErrorCode()
-
-
-
Constructor Detail
-
StateTransitionException
public StateTransitionException(java.lang.String s, StateTransitionException.TransitionErrorCode error)
-
-
Method Detail
-
getErrorCode
public StateTransitionException.TransitionErrorCode getErrorCode()
-
-