org.nfis.gdas.v091
Class ServiceReportException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.nfis.gdas.v091.ServiceReportException
- All Implemented Interfaces:
- java.io.Serializable, org.nfis.util.NfisException
public class ServiceReportException
- extends java.lang.Exception
- implements org.nfis.util.NfisException
This class wraps the XmlBeans generated class
ServiceExceptionReportDocument. The schema for this
class is defined in the GDAS 0.9.1 specification Annex a section A.3.
ServiceReportException is the way GDAS returns an XML exception when things
go wrong with the requests.
- Author:
- Aaron
- See Also:
- Serialized Form
|
Field Summary |
(package private) java.lang.String |
errorCode
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.nfis.util.NfisException |
getMessage |
errorCode
java.lang.String errorCode
ServiceReportException
public ServiceReportException(java.lang.String exceptionCode,
java.lang.String message)
- Constructs a ServiceExceptionReport with Exception Code and message
- Parameters:
exceptionCode - code describes the type of error it ismessage - User freindly string or a key into a properties file
where the user message is found.
ServiceReportException
public ServiceReportException(java.lang.String message)
ServiceReportException
public ServiceReportException(java.lang.String errorCode,
java.lang.Throwable cause,
java.lang.String errorMessage)
getServiceExceptionXml
public net.opengis.ogc.ServiceExceptionReportDocument getServiceExceptionXml()
getErrorCode
public java.lang.String getErrorCode()
- Specified by:
getErrorCode in interface org.nfis.util.NfisException