|
||||||||||
| 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(java.lang.String strMessage)
Constructor 1 |
|
AppException(java.lang.String strMessage,
java.lang.Exception e)
Constructor 2 |
|
| Method Summary | |
|---|---|
java.lang.Exception |
getInitialException()
Returns the initial exception. |
java.lang.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(java.lang.String strMessage)
strMessage - The error message
public AppException(java.lang.String strMessage,
java.lang.Exception e)
strMessage - The error messagee - The initial exceptionpublic AppException()
| Method Detail |
|---|
public java.lang.Exception getInitialException()
public java.lang.String getMessage()
getMessage in class java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||