Class VUserException

All Implemented Interfaces:
Serializable

public class VUserException extends RuntimeException
Base exception for user-facing errors in Vertigo. Features: - Localized message support - Parameter substitution - Message key resolution - Default message fallback Used for errors that should be displayed to end users.
Author:
fconstantin, pchretien
See Also:
  • Constructor Details

    • VUserException

      public VUserException(LocaleMessageText messageText)
      Constructor.
      Parameters:
      messageText - Exception message
    • VUserException

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

      public VUserException(LocaleMessageKey key, Serializable... params)
      Constructor.
      Parameters:
      key - The msg key (required)
      params - List of params (optional)
  • Method Details

    • getMessageText

      public final LocaleMessageText getMessageText()
      Returns the externalized error message.
      Returns:
      The localized message text