org.geotools.data.ows
Class ServiceExceptionParser

java.lang.Object
  extended by org.geotools.data.ows.ServiceExceptionParser

public class ServiceExceptionParser
extends java.lang.Object

Utility class that will parse ServiceExceptions out of an inputStream.

Author:
rgould

Constructor Summary
ServiceExceptionParser()
           
 
Method Summary
static ServiceException parse(java.io.InputStream inputStream)
          Tries to read a ServiceExceptionReport from the input stream, and construct a chain of ServiceExceptions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceExceptionParser

public ServiceExceptionParser()
Method Detail

parse

public static ServiceException parse(java.io.InputStream inputStream)
                              throws org.jdom.JDOMException,
                                     java.io.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:
org.jdom.JDOMException
java.io.IOException


Copyright © 1996-2010 Geotools. All Rights Reserved.