|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.geronimo.ews.ws4j2ee.toWs.GenerationFault
This denotes the Exception occured at the code genaration. There is a isssue of wrapping the Exception such that JDK1.3 compatibility. This code write same way as it was done at the RemoteException.
Field Summary | |
java.lang.Throwable |
detail
Nested Exception to hold wrapped exception. |
Constructor Summary | |
GenerationFault(java.lang.String message)
|
|
GenerationFault(java.lang.String s,
java.lang.Throwable ex)
Constructs a Exception with the specified
detail message and nested exception. |
Method Summary | |
static GenerationFault |
createGenerationFault(java.lang.Exception e)
|
java.lang.Throwable |
getCause()
Returns the wrapped exception (the cause). |
java.lang.String |
getMessage()
Returns the detail message, including the message from the nested exception if there is one. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public java.lang.Throwable detail
This field predates the general-purpose exception chaining facility.
The Throwable.getCause()
method is now the preferred means of
obtaining this information.
Constructor Detail |
public GenerationFault(java.lang.String message)
public GenerationFault(java.lang.String s, java.lang.Throwable ex)
Exception
with the specified
detail message and nested exception.
s
- the detail messageex
- the nested exceptionMethod Detail |
public java.lang.String getMessage()
public java.lang.Throwable getCause()
public static GenerationFault createGenerationFault(java.lang.Exception e)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |