Package com.luciad.fusion.tilestore
Class TLfnServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.luciad.fusion.tilestore.TLfnServiceException
- All Implemented Interfaces:
Serializable
An exception for LuciadFusion Service processing errors.
The message provides information on the exact failure.
The response code and reason on this exception match the HTTP response code and reason.
- Since:
- 10.0
- See Also:
-
Constructor Summary
ConstructorDescriptionTLfnServiceException
(String aMessage, int aResponseCode, String aResponseReason, Throwable aCause) Creates a service exception with a given message, code and cause. -
Method Summary
Modifier and TypeMethodDescriptionint
Gets the HTTP response code.Gets the HTTP response reason.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TLfnServiceException
public TLfnServiceException(String aMessage, int aResponseCode, String aResponseReason, Throwable aCause) Creates a service exception with a given message, code and cause.- Parameters:
aMessage
- the message describing the service exceptionaResponseCode
- the exception code (defined as constants in this class)aResponseReason
- the reason for the exceptionaCause
- the Throwable that caused the exception.
-
-
Method Details
-
getResponseReason
Gets the HTTP response reason. This is the textual form of getResponseCode()- Returns:
- the response reason
-
getResponseCode
public int getResponseCode()Gets the HTTP response code.- Returns:
- the response code
-