public class ExceptionFactory extends 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(String message,
Throwable throwable)
Create a ProtocolException using the information from a Throwable and message
|
static javax.xml.ws.WebServiceException |
makeWebServiceException(String message)
Make a WebServiceException with a given message
|
static javax.xml.ws.WebServiceException |
makeWebServiceException(String message,
Throwable throwable)
Create a WebServiceException using the information from a given Throwable instance and message
|
static javax.xml.ws.WebServiceException |
makeWebServiceException(Throwable throwable)
Create a WebServiceException using the information from a given Throwable instance
|
static void |
setInitialCause(Throwable target,
Throwable initialCause)
Give a target Throwable, set the initialCause Throwable as the initial cause on the target.
|
static String |
stackToString(Throwable e)
Get a string containing the stack of the specified exception
|
public static javax.xml.ws.WebServiceException makeWebServiceException(String message, Throwable throwable)
message - throwable - public static javax.xml.ws.ProtocolException makeProtocolException(String message, Throwable throwable)
message - throwable - public static javax.xml.ws.WebServiceException makeWebServiceException(String message)
message - public static javax.xml.ws.WebServiceException makeWebServiceException(Throwable throwable)
throwable - public static String stackToString(Throwable e)
e - public static void setInitialCause(Throwable target, Throwable initialCause)
target - The throwable on which to set the initial causeinitialCause - The initial cause to set on the target Throwable.Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.