|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
fr.paris.lutece.plugins.stock.commons.exception.FunctionnalException
fr.paris.lutece.plugins.stock.commons.exception.BusinessException
public class BusinessException
Business exception
Constructor Summary | |
---|---|
BusinessException(java.lang.Object bean,
java.lang.String code)
Constructeur de l'exception. |
|
BusinessException(java.lang.Object bean,
java.lang.String code,
java.lang.String... arguments)
Constructeur de l'exception. |
Method Summary | |
---|---|
java.lang.String[] |
getArguments()
Récupère les argumentes de l'exception |
java.lang.String |
getCode()
Récupère le code de l'exception |
java.lang.String |
getMessage()
Constructeur de message d'erreur à partir d'une BusinessException |
void |
setArguments(java.lang.String[] arguments)
Initialise les arguments de l'exception |
void |
setCode(java.lang.String code)
Initialise le code de l'exception |
Methods inherited from class fr.paris.lutece.plugins.stock.commons.exception.FunctionnalException |
---|
getBean, setBean |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BusinessException(java.lang.Object bean, java.lang.String code)
bean
- the beancode
- Le code de l'exceptionpublic BusinessException(java.lang.Object bean, java.lang.String code, java.lang.String... arguments)
bean
- the beancode
- Le code de l'exceptionarguments
- Les arguments de l'exceptionMethod Detail |
---|
public java.lang.String getCode()
public void setCode(java.lang.String code)
code
- le code de l'exceptionpublic java.lang.String[] getArguments()
public void setArguments(java.lang.String[] arguments)
arguments
- les arguments de l'exceptionpublic java.lang.String getMessage()
BusinessException
getMessage
in class java.lang.Throwable
String
contenant les clés i18n des messages
d'erreurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |