com.supermap.services.components.spi

类 TileDataNotFoundException

  • 所有已实现的接口:
    java.io.Serializable


    public class TileDataNotFoundException
    extends ServiceRuntimeException
    

    瓦片数据未找到异常。

    当配置了 return404WhenNoTileData=true 且瓦片数据不存在时抛出此异常, 上层捕获后会返回 HTTP 404 状态码。

    从以下版本开始:
    12.0.1
    另请参阅:
    序列化表格
    • 方法概要

      • 从类继承的方法 java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 构造器详细资料

      • TileDataNotFoundException

        public TileDataNotFoundException(java.lang.String message)
        
        构造带指定详细信息的新异常。
        参数:
        message - 详细信息。
      • TileDataNotFoundException

        public TileDataNotFoundException(java.lang.String message,
                                 java.lang.Throwable cause)
        
        构造带指定详细消息和原因的新异常。
        参数:
        message - 详细信息。
        cause - 原因,允许使用 null 值,指出原因不存在或者是未知的。
      • TileDataNotFoundException

        public TileDataNotFoundException(java.lang.Throwable cause)
        
        根据指定的原因和 (cause==null ? null : cause.toString()) 的详细消息构造新异常。
        参数:
        cause - 原因,允许使用 null 值,指出原因不存在或者是未知的。