Package io.vertigo.core.lang
Class VUserException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.vertigo.core.lang.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 Summary
Constructors Constructor Description VUserException(MessageKey key, Serializable... params)
Constructor.VUserException(MessageText messageText)
Constructor.VUserException(String defaultMsg, Serializable... params)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageText
getMessageText()
Gestion des messages d'erreur externalisés.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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.
-
-