|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--uk.ac.ebi.intact.persistence.UpdateException
Exception class to provide more meaningful error messages. There is an extra constructor to allow other exceptions to pass on information.
| Constructor Summary | |
UpdateException()
The default construstor with a default error message. |
|
UpdateException(java.lang.String msg)
|
|
UpdateException(java.lang.String msg,
java.lang.Exception e)
this constructor is used typically to pass on extra failure information from excpetions thrown elsewhere, eg from within other APIs |
|
| Method Summary | |
java.lang.String |
getNestedMessage()
this method obtains any information from within nested exceptions that have been passed on. |
java.lang.Exception |
getRootCause()
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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 UpdateException()
public UpdateException(java.lang.String msg)
public UpdateException(java.lang.String msg,
java.lang.Exception e)
msg - - the currently raised messagee - - an Exception being passed on| Method Detail |
public java.lang.String getNestedMessage()
public java.lang.Exception getRootCause()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||