|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
uk.ac.ic.doc.automed.AutoMedException
uk.ac.ic.doc.automed.reps.AutoRepException
public class AutoRepException
The class of exceptions generated by
the uk.ac.ic.doc.automed.reps
package.
Constructor Summary | |
---|---|
AutoRepException(java.lang.String msg)
Creates an AutoRepException. |
|
AutoRepException(java.lang.String msg,
java.lang.Exception cause)
Creates an AutoRepException. |
Method Summary | |
---|---|
java.lang.Throwable |
getCause()
Return the source exception |
void |
printStackTrace()
Overrides {#link Exception.printStackTrace()} method to also print source exception details |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AutoRepException(java.lang.String msg)
msg
- message for the exception.public AutoRepException(java.lang.String msg, java.lang.Exception cause)
cause
is the Exception which caused this AutoRepException.
msg
- message for the exceptioncause
- the exception that caused this oneMethod Detail |
---|
public void printStackTrace()
AutoMedException
printStackTrace
in class AutoMedException
public java.lang.Throwable getCause()
AutoMedException
getCause
in class AutoMedException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |