|
Drools :: Eclipse :: Webdav for Guvnor tools 6.0.0.Alpha7 | |||||||||
| 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
org.eclipse.webdav.internal.kernel.DAV4JRuntimeException
public class DAV4JRuntimeException
| Constructor Summary | |
|---|---|
DAV4JRuntimeException(int code,
String message)
Create and answer a new runtime exception with the specified error code and descriptive message. |
|
DAV4JRuntimeException(String message)
Create and answer a new runtime exception with the given descriptive message. |
|
DAV4JRuntimeException(Throwable exception)
Create and answer a runtime exception which wraps the given exception. |
|
DAV4JRuntimeException(Throwable exception,
String message)
Makes the same association between exception argument and error code as DAV4JRuntimeException(Exception) |
|
| Method Summary | |
|---|---|
int |
getErrorCode()
Answer the error code which is set on the receiver. |
Throwable |
getWrappedException()
Answer the receiver's field which holds onto the exception which the receiver wraps. |
void |
printStackTrace()
If the receiver wraps an exception, then ask the exception to print out a stack trace to the system output. |
protected void |
setErrorCode(int errorCode)
Set the receiver's field which holds onto the error code. |
protected void |
setWrappedException(Throwable exception)
Set the receiver's field which holds onto the wrapped exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, 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 DAV4JRuntimeException(int code,
String message)
code - the error code for the exceptionmessage - a string describing the exceptionpublic DAV4JRuntimeException(String message)
message - a string describing the exceptionpublic DAV4JRuntimeException(Throwable exception)
public DAV4JRuntimeException(Throwable exception,
String message)
DAV4JRuntimeException(Exception)
exception - the exception to wrapmessage - a string describing the exception| Method Detail |
|---|
public int getErrorCode()
public Throwable getWrappedException()
public void printStackTrace()
printStackTrace in class Throwableprotected void setErrorCode(int errorCode)
errorCode - the error code for the exceptionprotected void setWrappedException(Throwable exception)
exception - the exception to be wrapped
|
Drools :: Eclipse :: Webdav for Guvnor tools 6.0.0.Alpha7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||