org.globus.wsrf.utils
Class FaultHelper
java.lang.Object
|
+--org.globus.wsrf.utils.FaultHelper
- public class FaultHelper
- extends Object
|
Field Summary |
static URI |
STACK_TRACE
Custom stack trace error code URI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STACK_TRACE
public static final URI STACK_TRACE
- Custom stack trace error code URI
FaultHelper
public FaultHelper()
setDescription
public static void setDescription(BaseFaultType fault,
String description)
setDescription
public static void setDescription(BaseFaultType fault,
String[] description)
getDescription
public static String[] getDescription(BaseFaultType fault)
addFaultCause
public static void addFaultCause(BaseFaultType fault,
Throwable exception)
toBaseFault
public static BaseFaultType toBaseFault(Throwable exception)
- Converts the given exception into a BaseFaultType. It embeds the
stack trace of the exception as a custom ErrorCode and the
exception message as a Description field.
fillInStackTrace
public static void fillInStackTrace(BaseFaultType fault,
Throwable exception)
getMessage
public static String getMessage(Throwable exception)
Copyright © 1999-2003 University of Chicago and The University of Southern California. All rights reserved.