Class X2JException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.x2j.converter.excp.X2JException
All Implemented Interfaces:
Serializable

public class X2JException extends Exception
Custom exception class for X2J code base.
See Also:
  • Constructor Details

    • X2JException

      public X2JException(X2JErrorCodes errorCode)
      Instantiates a new X2JException object.
      Parameters:
      errorCode - the error code
  • Method Details

    • getErrorMessage

      public String getErrorMessage()
      Returns the error message.
      Returns:
      the error message