org.geotools.data.wfs.protocol.wfs
Class WFSException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.geotools.data.wfs.protocol.wfs.WFSException
All Implemented Interfaces:
java.io.Serializable

public class WFSException
extends java.io.IOException

A Java Exception that mirrors a WFS ExceptionReport and is meant to be produced by ExceptionReportParser.

Since:
2.6
Version:
$Id: WFSException.java 31823 2008-11-11 16:11:49Z groldan $
Author:
Gabriel Roldan (OpenGeo)
See Also:
Serialized Form

Constructor Summary
WFSException(java.lang.String msg)
           
WFSException(java.lang.String msg, java.lang.Throwable cause)
           
 
Method Summary
 void addExceptionReport(java.lang.String report)
           
 java.lang.String getLocalizedMessage()
           
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WFSException

public WFSException(java.lang.String msg)

WFSException

public WFSException(java.lang.String msg,
                    java.lang.Throwable cause)
Method Detail

addExceptionReport

public void addExceptionReport(java.lang.String report)

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

getLocalizedMessage

public java.lang.String getLocalizedMessage()
Overrides:
getLocalizedMessage in class java.lang.Throwable


Copyright © 1996-2010 Geotools. All Rights Reserved.