Package org.geotools.data.wfs.internal
Class WFSException
- Object
-
- Throwable
-
- Exception
-
- IOException
-
- WFSException
-
- All Implemented Interfaces:
Serializable
public class WFSException extends IOException
A Java Exception that mirrors a WFSExceptionReport
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WFSException(String msg)
WFSException(String msg, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addExceptionDetails(String code, String locator, List<String> texts)
void
addExceptionMessage(String message)
List<ExceptionDetails>
getExceptionDetails()
String
getLocalizedMessage()
String
getMessage()
-
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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 classThrowable
-
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessage
in classThrowable
-
getExceptionDetails
public List<ExceptionDetails> getExceptionDetails()
- Returns:
- the structured contents of the WFS exception, if any
-
-