|
||||||||||
| 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.portal.service.util.AppException
public class AppException
This kind of exception is thrown when the application encounters a critical problem. This class extends RuntimeException in order to avoid try/catch blocks
| Constructor Summary | |
|---|---|
AppException()
Constructor 3 |
|
AppException(String strMessage)
Constructor 1 |
|
AppException(String strMessage,
Exception e)
Constructor 2 |
|
| Method Summary | |
|---|---|
Exception |
getInitialException()
Returns the initial exception. |
String |
getMessage()
Overides getMessage method |
| 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 AppException(String strMessage)
strMessage - The error message
public AppException(String strMessage,
Exception e)
strMessage - The error messagee - The initial exceptionpublic AppException()
| Method Detail |
|---|
public Exception getInitialException()
public String getMessage()
getMessage in class Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||