Class XSException

    • Constructor Summary

      Constructors 
      Constructor Description
      XSException()
      Creates a new XSException.
      XSException​(java.lang.String message)
      Creates a new XSException with the specified exception message.
      XSException​(java.lang.String errKey, java.lang.Object[] parameters)
      Creates a new XSException with the specified error key and parameters.
      XSException​(java.lang.String errKey, java.lang.Object[] parameters, java.lang.Throwable cause)
      Creates a new XSException with the specified error key, parameters, and cause of error.
      XSException​(java.lang.String message, java.lang.Throwable cause)
      Creates a new XSException with the specified exception message and cause of exception.
      XSException​(java.lang.Throwable cause)
      Creates a new XSException with the specified cause of the exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()
      Returns the detailed message of the exception.
      java.lang.String getMessage​(java.util.Locale lc)
      Returns the detailed message of the exception in the specified Locale.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • XSException

        public XSException()
        Creates a new XSException.
      • XSException

        public XSException​(java.lang.String message)
        Creates a new XSException with the specified exception message.
        Parameters:
        message - the exception message
      • XSException

        public XSException​(java.lang.Throwable cause)
        Creates a new XSException with the specified cause of the exception.
        Parameters:
        cause - the cause of the exception
      • XSException

        public XSException​(java.lang.String message,
                           java.lang.Throwable cause)
        Creates a new XSException with the specified exception message and cause of exception.
        Parameters:
        message - the exception message
        cause - the cause of the exception
      • XSException

        public XSException​(java.lang.String errKey,
                           java.lang.Object[] parameters,
                           java.lang.Throwable cause)
        Creates a new XSException with the specified error key, parameters, and cause of error.
        Parameters:
        errKey - the error key
        parameters - the parameters
        cause - the cause of the error
      • XSException

        public XSException​(java.lang.String errKey,
                           java.lang.Object[] parameters)
        Creates a new XSException with the specified error key and parameters.
        Parameters:
        errKey - the error key
        parameters - the parameters
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Returns the detailed message of the exception.
        Overrides:
        getMessage in class java.lang.Throwable
        Returns:
        the detail message string of this exception instance
      • getMessage

        public java.lang.String getMessage​(java.util.Locale lc)
        Returns the detailed message of the exception in the specified Locale.
        Parameters:
        lc - Locale
        Returns:
        the detail message string of this exception instance in the specified Locale