Package io.inugami.commons.marshaling
Enum DefaultXmlJaxbMarshallerSpiError
- java.lang.Object
-
- java.lang.Enum<DefaultXmlJaxbMarshallerSpiError>
-
- io.inugami.commons.marshaling.DefaultXmlJaxbMarshallerSpiError
-
- All Implemented Interfaces:
ErrorCode
,Serializable
,Comparable<DefaultXmlJaxbMarshallerSpiError>
public enum DefaultXmlJaxbMarshallerSpiError extends Enum<DefaultXmlJaxbMarshallerSpiError> implements ErrorCode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MARSHALLING_ERROR
UNMARSHALLING_ERROR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorCode
getCurrentErrorCode()
static DefaultXmlJaxbMarshallerSpiError
valueOf(String name)
Returns the enum constant of this type with the specified name.static DefaultXmlJaxbMarshallerSpiError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface io.inugami.api.exceptions.ErrorCode
addDetail, getCategory, getErrorCode, getErrorHandler, getErrorType, getField, getMessage, getMessageDetail, getPayload, getStatusCode, getUrl, isExploitationError, isRetryable, isRollbackRequire, toBuilder
-
-
-
-
Enum Constant Detail
-
MARSHALLING_ERROR
public static final DefaultXmlJaxbMarshallerSpiError MARSHALLING_ERROR
-
UNMARSHALLING_ERROR
public static final DefaultXmlJaxbMarshallerSpiError UNMARSHALLING_ERROR
-
-
Method Detail
-
values
public static DefaultXmlJaxbMarshallerSpiError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DefaultXmlJaxbMarshallerSpiError c : DefaultXmlJaxbMarshallerSpiError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefaultXmlJaxbMarshallerSpiError valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCurrentErrorCode
public ErrorCode getCurrentErrorCode()
- Specified by:
getCurrentErrorCode
in interfaceErrorCode
-
-