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