com.supermap.services.components.spi
类 TileDataNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.supermap.services.components.spi.ServiceRuntimeException
-
- com.supermap.services.components.spi.TileDataNotFoundException
-
- 所有已实现的接口:
- java.io.Serializable
public class TileDataNotFoundException extends ServiceRuntimeException
瓦片数据未找到异常。
当配置了 return404WhenNoTileData=true 且瓦片数据不存在时抛出此异常, 上层捕获后会返回 HTTP 404 状态码。
- 从以下版本开始:
- 12.0.1
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器和说明 TileDataNotFoundException(java.lang.String message)构造带指定详细信息的新异常。TileDataNotFoundException(java.lang.String message, java.lang.Throwable cause)构造带指定详细消息和原因的新异常。TileDataNotFoundException(java.lang.Throwable cause)根据指定的原因和 (cause==null ?
-
-
-
构造器详细资料
-
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 值,指出原因不存在或者是未知的。
-
-