public class ExceptionFactory
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log |
| Modifier and Type | Method and Description |
|---|---|
static javax.xml.ws.ProtocolException |
makeProtocolException(java.lang.String message,
java.lang.Throwable throwable)
Create a ProtocolException using the information from a Throwable and message
|
static javax.xml.ws.WebServiceException |
makeWebServiceException(java.lang.String message)
Make a WebServiceException with a given message
|
static javax.xml.ws.WebServiceException |
makeWebServiceException(java.lang.String message,
java.lang.Throwable throwable)
Create a WebServiceException using the information from a given Throwable instance and message
|
static javax.xml.ws.WebServiceException |
makeWebServiceException(java.lang.Throwable throwable)
Create a WebServiceException using the information from a given Throwable instance
|
static void |
setInitialCause(java.lang.Throwable target,
java.lang.Throwable initialCause)
Give a target Throwable, set the initialCause Throwable as the initial cause on the target.
|
static java.lang.String |
stackToString(java.lang.Throwable e)
Get a string containing the stack of the specified exception
|
public static javax.xml.ws.WebServiceException makeWebServiceException(java.lang.String message,
java.lang.Throwable throwable)
message - throwable - public static javax.xml.ws.ProtocolException makeProtocolException(java.lang.String message,
java.lang.Throwable throwable)
message - throwable - public static javax.xml.ws.WebServiceException makeWebServiceException(java.lang.String message)
message - public static javax.xml.ws.WebServiceException makeWebServiceException(java.lang.Throwable throwable)
throwable - public static java.lang.String stackToString(java.lang.Throwable e)
e - public static void setInitialCause(java.lang.Throwable target,
java.lang.Throwable initialCause)
target - The throwable on which to set the initial causeinitialCause - The initial cause to set on the target Throwable.Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.