org.deegree_impl.services.wms
Class ServiceExceptionReport_Impl

java.lang.Object
  extended byorg.deegree_impl.services.wms.ServiceExceptionReport_Impl
All Implemented Interfaces:
Marshallable, ServiceExceptionReport

public class ServiceExceptionReport_Impl
extends java.lang.Object
implements ServiceExceptionReport, Marshallable

the calss encapsulates a OGC WMS 1.1.1 Service Exception Report

Version:
$Revision: 1.3 $
Author:
Andreas Poth

Field Summary
private  java.lang.String code
           
private  java.lang.String report
           
private  java.lang.String version
           
 
Constructor Summary
ServiceExceptionReport_Impl(java.lang.String version, java.lang.String code, java.lang.String report)
          Creates a new ServiceExceptionReport_Impl object.
 
Method Summary
 java.lang.String exportAsXML()
          Produces an XML-representation of this object.
 java.lang.String getCode()
          returns the code of te expetion as defined in the OGC WMS 1.1.1 spec and the WMS 1.1.1 test suite
 java.lang.String getReport()
          returns a detailed description of the exption
 java.lang.String getVersion()
          returns the version of the ServiceExceptionReport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code

private java.lang.String code

report

private java.lang.String report

version

private java.lang.String version
Constructor Detail

ServiceExceptionReport_Impl

public ServiceExceptionReport_Impl(java.lang.String version,
                                   java.lang.String code,
                                   java.lang.String report)
Creates a new ServiceExceptionReport_Impl object.

Parameters:
version - version of the WMS
code - exception code
report - free description of the exception
Method Detail

getCode

public java.lang.String getCode()
returns the code of te expetion as defined in the OGC WMS 1.1.1 spec and the WMS 1.1.1 test suite

Specified by:
getCode in interface ServiceExceptionReport
Returns:

getReport

public java.lang.String getReport()
returns a detailed description of the exption

Specified by:
getReport in interface ServiceExceptionReport
Returns:

getVersion

public java.lang.String getVersion()
returns the version of the ServiceExceptionReport

Specified by:
getVersion in interface ServiceExceptionReport
Returns:

exportAsXML

public java.lang.String exportAsXML()
Produces an XML-representation of this object.

Specified by:
exportAsXML in interface Marshallable
Returns:
XML-representation of this object