deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.ogcwebservices
Class ExceptionReport

java.lang.Object
  extended by org.deegree.ogcwebservices.ExceptionReport

public class ExceptionReport
extends java.lang.Object

Upon receiving an invalid operation request, each OWS shall respond to the client using an Exception Report message to describe to the client application and/or its human user the reason(s) that the request is invalid. Whenever a server detects an exception condition while responding to a valid operation request, and cannot produce a normal response to that operation, the server shall also respond to the client using an Exception Report.

Each Exception Report shall contain one or more Exception elements, with each such element signalling detection of an independent error. Each Exception element shall contain the parameters ExceptionText, exceptionCode and locator.

Since:
2.0
Version:
$Revision: 18195 $, 1.0. $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Andreas Poth, last edited by: $Author: mschneider $

Constructor Summary
ExceptionReport(OGCWebServiceException[] exceptions)
           
ExceptionReport(OGCWebServiceException[] exceptions, java.lang.String version)
           
ExceptionReport(OGCWebServiceException[] exceptions, java.lang.String version, java.lang.String language)
           
 
Method Summary
 OGCWebServiceException[] getExceptions()
           
 java.lang.String getLanguage()
           
 java.lang.String getVersion()
           
 void setExceptions(OGCWebServiceException[] exceptions)
           
 void setLanguage(java.lang.String language)
           
 void setVersion(java.lang.String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionReport

public ExceptionReport(OGCWebServiceException[] exceptions)
Parameters:
exceptions -

ExceptionReport

public ExceptionReport(OGCWebServiceException[] exceptions,
                       java.lang.String version)
Parameters:
exceptions -
version -

ExceptionReport

public ExceptionReport(OGCWebServiceException[] exceptions,
                       java.lang.String version,
                       java.lang.String language)
Parameters:
exceptions -
version -
language -
Method Detail

getExceptions

public OGCWebServiceException[] getExceptions()
Returns:
Returns the exceptions.

setExceptions

public void setExceptions(OGCWebServiceException[] exceptions)
Parameters:
exceptions - The exceptions to set.

getLanguage

public java.lang.String getLanguage()
Returns:
Returns the language.

setLanguage

public void setLanguage(java.lang.String language)
Parameters:
language - The language to set.

getVersion

public java.lang.String getVersion()
Returns:
Returns the version.

setVersion

public void setVersion(java.lang.String version)
Parameters:
version - The version to set.

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org