Package org.geotools.data.ows
Class ServiceExceptionParser
- Object
-
- ServiceExceptionParser
-
public class ServiceExceptionParser extends Object
Utility class that will parse ServiceExceptions out of an inputStream.- Author:
- rgould
-
-
Constructor Summary
Constructors Constructor Description ServiceExceptionParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServiceException
parse(InputStream inputStream)
Tries to read a ServiceExceptionReport from the input stream, and construct a chain of ServiceExceptions.
-
-
-
Method Detail
-
parse
public static ServiceException parse(InputStream inputStream) throws IOException
Tries to read a ServiceExceptionReport from the input stream, and construct a chain of ServiceExceptions.ServiceExceptions beyond the first can be accessed using ServiceException.next();
- Parameters:
inputStream
- stream to parse the exception report from, not closed by this method- Throws:
IOException
-
-