|
||||||||||
| 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
|
+--org.openmms.util.OpenMMSException
Title: OpenMMSException
Description: Processing Error Messages, and reassigning them as OpenMMS exceptions
Copyright: Copyright (c) 2003 OpenMMS.org
| Field Summary |
| Fields inherited from class java.lang.Exception |
|
| Constructor Summary | |
OpenMMSException(java.lang.String sErrorMessage)
Constructor which sets the error description |
|
OpenMMSException(java.lang.String sErrorMessage,
java.lang.Throwable exception)
Constructor which sets error description, and the exception being converted |
|
OpenMMSException(java.lang.Throwable exception)
Constructor which sets the exception being converted |
|
| Method Summary | |
java.lang.Throwable |
getException()
Returns the exception converted from, or null if not converted. |
java.lang.String |
getMessage()
Designates the term OpenMMSException to the Error Message. |
void |
printStackTrace()
Prints the stacktrace to System.err |
void |
printStackTrace(java.io.PrintStream out)
Prints the stacktrace from either the original converted exception, prefixed with OpenMMSException, or the current exception. |
java.lang.String |
toString()
Returns the Error Message as a new string. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public OpenMMSException(java.lang.String sErrorMessage)
sErrorMessage -
public OpenMMSException(java.lang.String sErrorMessage,
java.lang.Throwable exception)
sErrorMessage - exception - public OpenMMSException(java.lang.Throwable exception)
exception - original converted exception| Method Detail |
public java.lang.Throwable getException()
null if not converted.
nullpublic void printStackTrace()
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream out)
printStackTrace in class java.lang.Throwableout - public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String toString()
toString in class java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||