Package com.luciad.wms.client.model
Class TLcdOGCWMSException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.luciad.ogc.ows.model.TLcdOWSDecodingException
com.luciad.wms.client.model.TLcdOGCWMSException
- All Implemented Interfaces:
Serializable
Represents an exception, different from an HTTP error or service exception report, that occurred while connecting
with a WMS server or while parsing the result.
The exception can have two possible causes:
- Another exception that was thrown in deeper layers. This can be retrieved through the method
getCause()
. - An unrecognized result of the server. The contents of this result and its type can be retrieved through the methods
getContentType()
andgetContents()
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Returns the data sent by the server.Returns the content type of the data sent by te server.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getContentType
Returns the content type of the data sent by te server.- Returns:
- the content type of the data sent by te server..
-
getContents
public byte[] getContents()Returns the data sent by the server.- Returns:
- the data sent by the server.
-