Class WFSException

  • All Implemented Interfaces:
    Serializable

    public class WFSException
    extends IOException
    A Java Exception that mirrors a WFS ExceptionReport.
    See Also:
    Serialized Form
    • Constructor Detail

      • WFSException

        public WFSException​(String msg)
      • WFSException

        public WFSException​(String msg,
                            Throwable cause)
    • Method Detail

      • addExceptionMessage

        public void addExceptionMessage​(String message)
      • addExceptionDetails

        public void addExceptionDetails​(String code,
                                        String locator,
                                        List<String> texts)
      • getMessage

        public String getMessage()
        Overrides:
        getMessage in class Throwable
      • getLocalizedMessage

        public String getLocalizedMessage()
        Overrides:
        getLocalizedMessage in class Throwable
      • getExceptionDetails

        public List<ExceptionDetails> getExceptionDetails()
        Returns:
        the structured contents of the WFS exception, if any