com.supermap.services.wmts

Class WMTSServiceException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • java.lang.RuntimeException
          • com.supermap.services.wmts.WMTSServiceException
  • All Implemented Interfaces:
    java.io.Serializable


    public class WMTSServiceException
    extends java.lang.RuntimeException
    

    The exception information of the relevant WMTS service.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      WMTSServiceException(java.lang.String msg)
      Construct new exception with a detailed message.
      WMTSServiceException(java.lang.String msg, java.lang.Throwable e)
      Construct new exception with the specific detailed message.
      WMTSServiceException(java.lang.String message, WMTSExceptionCodeValue exceptionCode, java.lang.String locator)
      Constructs a new exception based on the specified detail message, exception code, and exception location.
      WMTSServiceException(java.lang.String message, WMTSExceptionCodeValue exceptionCode, java.lang.String locator, java.lang.Throwable e) 
      WMTSServiceException(java.lang.Throwable e)
      Construct a new exception with an existing exception.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      WMTSExceptionCodeValue getExceptionCode()
      Get exception code.
      java.lang.String getLocator()
      Get exception location.
      void setExceptionCode(WMTSExceptionCodeValue exceptionCode)
      Set exception code.
      void setLocator(java.lang.String locator)
      Set exception location.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • WMTSServiceException

        public WMTSServiceException(java.lang.String msg)
        
        Construct new exception with a detailed message.
        Parameters:
        msg - detailed message.
      • WMTSServiceException

        public WMTSServiceException(java.lang.Throwable e)
        
        Construct a new exception with an existing exception.
        Parameters:
        e - the existing exception.
      • WMTSServiceException

        public WMTSServiceException(java.lang.String msg,
                            java.lang.Throwable e)
        
        Construct new exception with the specific detailed message.
        Parameters:
        msg - detailed message.
        e - reason.
      • WMTSServiceException

        public WMTSServiceException(java.lang.String message,
                            WMTSExceptionCodeValue exceptionCode,
                            java.lang.String locator)
        
        Constructs a new exception based on the specified detail message, exception code, and exception location.
        Parameters:
        message - detailed message.
        exceptionCode - exception code.
        locator - exception location.
      • WMTSServiceException

        public WMTSServiceException(java.lang.String message,
                            WMTSExceptionCodeValue exceptionCode,
                            java.lang.String locator,
                            java.lang.Throwable e)
        
    • Method Detail

      • setExceptionCode

        public final void setExceptionCode(WMTSExceptionCodeValue exceptionCode)
        
        Set exception code.
        Parameters:
        exceptionCode - exception code.
      • setLocator

        public final void setLocator(java.lang.String locator)
        
        Set exception location.
        Parameters:
        locator - exception location.
      • getExceptionCode

        public final WMTSExceptionCodeValue getExceptionCode()
        
        Get exception code.
        Returns:
        exception code.
      • getLocator

        public final java.lang.String getLocator()
        
        Get exception location.
        Returns:
        exception location.