Package io.tarantool.driver.exceptions.errors
Classes for representing tarantool errors in java
-
Interface Summary Interface Description TarantoolErrorFactory A factory that accepts an error and returns aTarantoolException
if this error matches the format of the factory. -
Class Summary Class Description TarantoolErrors Class-container for built-in tarantool errors factoriesTarantoolErrors.TarantoolBoxErrorFactory ProducesTarantoolInternalException
subclasses from the serialized representation in the format ofbox.error:unpack
,TarantoolErrors.TarantoolErrorsErrorFactory ProducesTarantoolInternalException
subclasses from the serialized representation in the format ofrequire('errors').new_class("NewError")
,TarantoolErrors.TarantoolUnrecognizedErrorFactory The factory is finalizing, i.e. errors passed into it will always be introverted as appropriate for the given factory The error is generated in a message that is passed toTarantoolInternalException
TarantoolErrorsParser A parser that pushes the error into different types of tarantool errors and looks at which one fits, if none fits, then at the end there will be a stub error.