Class TLfnServiceException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.luciad.fusion.tilestore.TLfnServiceException
All Implemented Interfaces:
Serializable

public class TLfnServiceException extends Exception
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 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 exception
      aResponseCode - the exception code (defined as constants in this class)
      aResponseReason - the reason for the exception
      aCause - the Throwable that caused the exception.
  • Method Details

    • getResponseReason

      public String 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