Class LocatableWebServiceException

  • All Implemented Interfaces:
    Serializable

    public class LocatableWebServiceException
    extends javax.xml.ws.WebServiceException
    WebServiceException with 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 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​(Throwable cause,
                                            XMLStreamReader locationSource)
    • Method Detail

      • getLocation

        @NotNull
        public List<Locator> getLocation()
        Locations related to this exception.
        Returns:
        Can be empty but never null.