Package com.sun.xml.ws.util.exception
Class LocatableWebServiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.xml.ws.WebServiceException
-
- com.sun.xml.ws.util.exception.LocatableWebServiceException
-
- All Implemented Interfaces:
Serializable
public class LocatableWebServiceException extends javax.xml.ws.WebServiceExceptionWebServiceExceptionwith source location informaiton.This exception should be used wherever the location information is available, so that the location information is carried forward to users (to assist error diagnostics.)
- Author:
- Kohsuke Kawaguchi
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LocatableWebServiceException(String message, Throwable cause, XMLStreamReader locationSource)LocatableWebServiceException(String message, Throwable cause, Locator... location)LocatableWebServiceException(String message, XMLStreamReader locationSource)LocatableWebServiceException(String message, Locator... location)LocatableWebServiceException(Throwable cause, XMLStreamReader locationSource)LocatableWebServiceException(Throwable cause, Locator... location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Locator>getLocation()Locations related to this exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
LocatableWebServiceException
public LocatableWebServiceException(String message, Locator... location)
-
LocatableWebServiceException
public LocatableWebServiceException(String message, Throwable cause, Locator... location)
-
LocatableWebServiceException
public LocatableWebServiceException(Throwable cause, Locator... location)
-
LocatableWebServiceException
public LocatableWebServiceException(String message, XMLStreamReader locationSource)
-
LocatableWebServiceException
public LocatableWebServiceException(String message, Throwable cause, XMLStreamReader locationSource)
-
LocatableWebServiceException
public LocatableWebServiceException(Throwable cause, XMLStreamReader locationSource)
-
-