Class VUserException

  • All Implemented Interfaces:
    Serializable

    public class VUserException
    extends RuntimeException
    Root Class for all user exceptions. User Exceptions are built with a (localized) message A cause can be added by setting 'initCause' method
    Author:
    fconstantin, pchretien
    See Also:
    Serialized Form
    • Constructor Detail

      • VUserException

        public VUserException​(MessageText messageText)
        Constructor.
        Parameters:
        messageText - Message de l'exception
      • VUserException

        public VUserException​(String defaultMsg,
                              Serializable... params)
        Constructor.
        Parameters:
        defaultMsg - the default msg (required)
        params - list of params (optional)
      • VUserException

        public VUserException​(MessageKey key,
                              Serializable... params)
        Constructor.
        Parameters:
        key - the msg key (required)
        params - list of params (optional)
    • Method Detail

      • getMessageText

        public final MessageText getMessageText()
        Gestion des messages d'erreur externalisés.
        Returns:
        messageText.