|
||||||||||
| 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(Object bean,
String code)
Constructeur de l'exception. |
|
BusinessException(Object bean,
String code,
String... arguments)
Constructeur de l'exception. |
|
| Method Summary | |
|---|---|
String[] |
getArguments()
Récupère les argumentes de l'exception |
String |
getCode()
Récupère le code de l'exception |
String |
getMessage()
Constructeur de message d'erreur à partir d'une BusinessException |
void |
setArguments(String[] arguments)
Initialise les arguments de l'exception |
void |
setCode(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(Object bean,
String code)
bean - the beancode - Le code de l'exception
public BusinessException(Object bean,
String code,
String... arguments)
bean - the beancode - Le code de l'exceptionarguments - Les arguments de l'exception| Method Detail |
|---|
public String getCode()
public void setCode(String code)
code - le code de l'exceptionpublic String[] getArguments()
public void setArguments(String[] arguments)
arguments - les arguments de l'exceptionpublic String getMessage()
BusinessException
getMessage in class ThrowableString 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 | |||||||||