Class SessionException

    • Constructor Detail

      • SessionException

        public SessionException​(String msg)
        Constructs an instance of the SessionException class.
        Parameters:
        msg - The message provided by the object which is throwing the exception
      • SessionException

        public SessionException​(String bundleName,
                                String errCode,
                                Object[] args)
        Constructs an instance of the SessionException class with localizable error message
        Parameters:
        bundleName - Resource Bundle Name to be used for getting localized error message.
        errCode - Key to resource bundle. You can use ResourceBundle rb = ResourceBunde.getBundle (rbName,locale); String localizedStr = rb.getString(errorCode).
        args - arguments to message. If it is not present pass the as null.
      • SessionException

        public SessionException​(Throwable t)
        Constructs an instance of the SessionException class.
        Parameters:
        t - The Throwable object provided by the object which is throwing the exception.
    • Method Detail

      • getL10NMessage

        public String getL10NMessage()
        Gets the Localized message string.