Module io.github.bucket4j.core
Class UnsupportedTypeError
- java.lang.Object
-
- io.github.bucket4j.distributed.remote.UnsupportedTypeError
-
- All Implemented Interfaces:
CommandError,ComparableByContent<UnsupportedTypeError>
public class UnsupportedTypeError extends Object implements CommandError, ComparableByContent<UnsupportedTypeError>
-
-
Field Summary
Fields Modifier and Type Field Description static SerializationHandle<UnsupportedTypeError>SERIALIZATION_HANDLE
-
Constructor Summary
Constructors Constructor Description UnsupportedTypeError(int typeId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuntimeExceptionasException()booleanequalsByContent(UnsupportedTypeError other)intgetTypeId()
-
-
-
Field Detail
-
SERIALIZATION_HANDLE
public static SerializationHandle<UnsupportedTypeError> SERIALIZATION_HANDLE
-
-
Method Detail
-
getTypeId
public int getTypeId()
-
asException
public RuntimeException asException()
- Specified by:
asExceptionin interfaceCommandError
-
equalsByContent
public boolean equalsByContent(UnsupportedTypeError other)
- Specified by:
equalsByContentin interfaceComparableByContent<UnsupportedTypeError>
-
-