Package com.apama.iaf.plugin
Class SemanticMapperException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- com.apama.iaf.plugin.SemanticMapperException
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class SemanticMapperException extends java.lang.ExceptionSemanticMapperException is the exception class thrown by the IAF Semantic Mapper.- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static intINJECTIONFAILURECouldn't queue converted event for injection into the Enginestatic intINTERNALERRORSome unspecified internal error occurredstatic intMAPPINGFAILURECouldn't convert customer event to an Apama eventstatic intOKEverything is fine
 - 
Constructor SummaryConstructors Constructor Description SemanticMapperException(java.lang.String message)Constructs a SemanticMapperException from a string message describing the error, and assumes an error code of MAPPINGFAILURE.SemanticMapperException(java.lang.String message, int code)Constructs a SemanticMapperException from a string message describing the error and a numeric code representing the class of error.SemanticMapperException(java.lang.String message, java.lang.Throwable cause)Constructs a SemanticMapperException from a string message describing the error, and an exception object that is the cause of the error.SemanticMapperException(java.lang.String message, java.lang.Throwable cause, int code)Constructs a SemanticMapperException from a string message describing the error, a numeric code representing the class of error and an exception object that is the cause of the error.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetErrorCode()Returns the integer code representing the type of transport error that occurred.
 
- 
- 
- 
Field Detail- 
OKpublic static final int OK Everything is fine- See Also:
- Constant Field Values
 
 - 
INTERNALERRORpublic static final int INTERNALERROR Some unspecified internal error occurred- See Also:
- Constant Field Values
 
 - 
MAPPINGFAILUREpublic static final int MAPPINGFAILURE Couldn't convert customer event to an Apama event- See Also:
- Constant Field Values
 
 - 
INJECTIONFAILUREpublic static final int INJECTIONFAILURE Couldn't queue converted event for injection into the Engine- See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
SemanticMapperExceptionpublic SemanticMapperException(java.lang.String message) Constructs a SemanticMapperException from a string message describing the error, and assumes an error code of MAPPINGFAILURE.- Parameters:
- message- The cause of the error.
 
 - 
SemanticMapperExceptionpublic SemanticMapperException(java.lang.String message, int code)Constructs a SemanticMapperException from a string message describing the error and a numeric code representing the class of error.- Parameters:
- message- The cause of the error.
- code- One of the SemanticMapperException error codes.
 
 - 
SemanticMapperExceptionpublic SemanticMapperException(java.lang.String message, java.lang.Throwable cause)Constructs a SemanticMapperException from a string message describing the error, and an exception object that is the cause of the error. It assumes an error code of MAPPINGFAILURE.- Parameters:
- message- The cause of the error. This message will be suffixed with the message of the 'cause' exception.
- cause- The exception object that caused the error.
 
 - 
SemanticMapperExceptionpublic SemanticMapperException(java.lang.String message, java.lang.Throwable cause, int code)Constructs a SemanticMapperException from a string message describing the error, a numeric code representing the class of error and an exception object that is the cause of the error.- Parameters:
- message- The cause of the error. This message will be suffixed with the message of the 'cause' exception.
- cause- The exception object that caused the error.
- code- One of the SemanticMapperException error codes.
 
 
- 
 
-