org.n52.oxf.ows
Class ExceptionReport
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.n52.oxf.ows.ExceptionReport
- All Implemented Interfaces:
- Serializable
public class ExceptionReport
- extends Exception
Encapsulates Exceptions which occur on service side processing.
- Author:
- Theodor Foerster
- See Also:
- Serialized Form
ExceptionReport
public ExceptionReport(String version,
String language)
getExceptionsIterator
public Iterator<OWSException> getExceptionsIterator()
- Returns:
- Returns the exceptions.
addException
public void addException(OWSException exception)
- Parameters:
exceptions
- The exceptions to set.
printStackTrace
public void printStackTrace()
- prints all contained Exceptions to the System.err stream.
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace(PrintStream s)
- Overrides:
printStackTrace
in class Throwable
toHtmlString
public String toHtmlString()
- Returns:
- a HTML representation of this OWSException
countExceptions
public int countExceptions()
- Returns:
- the number of exceptions contained in this ExceptionReport.
getLanguage
public String getLanguage()
- Returns:
- Returns the language.
setLanguage
public void setLanguage(String language)
- Parameters:
language
- The language to set.
getVersion
public String getVersion()
- Returns:
- Returns the version.
setVersion
public void setVersion(String version)
- Parameters:
version
- The version to set.
Copyright © 2012-2013 52north.org. All Rights Reserved.