Package io.mats3.api.intercept
Enum Class MatsStageInterceptor.StagePreprocessAndDeserializeErrorContext.StagePreprocessAndDeserializeError
java.lang.Object
java.lang.Enum<MatsStageInterceptor.StagePreprocessAndDeserializeErrorContext.StagePreprocessAndDeserializeError>
io.mats3.api.intercept.MatsStageInterceptor.StagePreprocessAndDeserializeErrorContext.StagePreprocessAndDeserializeError
- All Implemented Interfaces:
Serializable
,Comparable<MatsStageInterceptor.StagePreprocessAndDeserializeErrorContext.StagePreprocessAndDeserializeError>
,Constable
- Enclosing interface:
- MatsStageInterceptor.StagePreprocessAndDeserializeErrorContext
public static enum MatsStageInterceptor.StagePreprocessAndDeserializeErrorContext.StagePreprocessAndDeserializeError
extends Enum<MatsStageInterceptor.StagePreprocessAndDeserializeErrorContext.StagePreprocessAndDeserializeError>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIf getting problems deserializing the message, or getting hold of other properties from the message.If there is missing required contents in the message system message (i.e.If the incoming message is not of the message system's expected type (for JMS, it should be MapMessage)If the incoming Mats message is not intended for this stage. -
Method Summary
Modifier and TypeMethodDescriptionstatic MatsStageInterceptor.StagePreprocessAndDeserializeErrorContext.StagePreprocessAndDeserializeError
Returns the enum constant of this class with the specified name.static MatsStageInterceptor.StagePreprocessAndDeserializeErrorContext.StagePreprocessAndDeserializeError[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WRONG_MESSAGE_TYPE
public static final MatsStageInterceptor.StagePreprocessAndDeserializeErrorContext.StagePreprocessAndDeserializeError WRONG_MESSAGE_TYPEIf the incoming message is not of the message system's expected type (for JMS, it should be MapMessage) -
MISSING_CONTENTS
public static final MatsStageInterceptor.StagePreprocessAndDeserializeErrorContext.StagePreprocessAndDeserializeError MISSING_CONTENTSIf there is missing required contents in the message system message (i.e. MatsTrace keys give null values). -
DECONSTRUCT_ERROR
public static final MatsStageInterceptor.StagePreprocessAndDeserializeErrorContext.StagePreprocessAndDeserializeError DECONSTRUCT_ERRORIf getting problems deserializing the message, or getting hold of other properties from the message. -
WRONG_STAGE
public static final MatsStageInterceptor.StagePreprocessAndDeserializeErrorContext.StagePreprocessAndDeserializeError WRONG_STAGEIf the incoming Mats message is not intended for this stage.
-
-
Method Details
-
values
public static MatsStageInterceptor.StagePreprocessAndDeserializeErrorContext.StagePreprocessAndDeserializeError[] values()Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
public static MatsStageInterceptor.StagePreprocessAndDeserializeErrorContext.StagePreprocessAndDeserializeError valueOf(String name) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-