|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
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.deegree.enterprise.ServiceException
public class ServiceException
The ServiceException
class is used across all core framework services and is also
suitable for use by developers extending the framework using the framework SPI.
Based on code published by Terren Suydam in JavaWorld
Constructor Summary | |
---|---|
ServiceException()
java.lang.Exception constructors |
|
ServiceException(java.lang.String msg)
Constructor declaration |
|
ServiceException(java.lang.String msg,
java.lang.Throwable nestedException)
Constructor declaration |
|
ServiceException(java.lang.Throwable nestedException)
additional c'tors - nest the exceptions, storing the stack trace |
Method Summary | |
---|---|
static java.lang.String |
generateStackTraceString(java.lang.Throwable t)
Convert a stack trace to a String so it can be serialized |
java.lang.String |
getMessage()
Method declaration |
java.lang.Throwable |
getNestedException()
Method declaration |
java.lang.String |
getStackTraceString()
descend through linked-list of nesting exceptions, & output trace note that this displays the 'deepest' trace first |
void |
printStackTrace()
Method declaration |
void |
printStackTrace(java.io.PrintStream inPrintStream)
Method declaration |
void |
printStackTrace(java.io.PrintWriter inPrintWriter)
Method declaration |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ServiceException()
public ServiceException(java.lang.String msg)
msg
- public ServiceException(java.lang.Throwable nestedException)
nestedException
- public ServiceException(java.lang.String msg, java.lang.Throwable nestedException)
msg
- nestedException
- Method Detail |
---|
public static java.lang.String generateStackTraceString(java.lang.Throwable t)
t
-
public java.lang.Throwable getNestedException()
public java.lang.String getStackTraceString()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String toString()
toString
in class java.lang.Throwable
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream inPrintStream)
printStackTrace
in class java.lang.Throwable
inPrintStream
- public void printStackTrace(java.io.PrintWriter inPrintWriter)
printStackTrace
in class java.lang.Throwable
inPrintWriter
-
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org