Package com.x2j.converter.excp
Class X2JException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.x2j.converter.excp.X2JException
- All Implemented Interfaces:
Serializable
Custom exception class for X2J code base.
- See Also:
-
Constructor Summary
ConstructorDescriptionX2JException
(X2JErrorCodes errorCode) Instantiates a new X2JException object. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
X2JException
Instantiates a new X2JException object.- Parameters:
errorCode
- the error code
-
-
Method Details
-
getErrorMessage
Returns the error message.- Returns:
- the error message
-