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
Method Summary |
static ServiceException |
parse(InputStream inputStream)
Tries to read a ServiceExceptionReport from the input stream, and
construct a chain of ServiceExceptions. |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceExceptionParser
public ServiceExceptionParser()
parse
public static ServiceException parse(InputStream inputStream)
throws JDOMException,
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
-
- Throws:
JDOMException
IOException
Copyright © 1996-2014 Geotools. All Rights Reserved.