com.supermap.mapping
类 OutputMapTimeOutException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.supermap.data.ObjectsRuntimeException
-
- com.supermap.mapping.OutputMapTimeOutException
-
- 所有已实现的接口:
- Serializable
public class OutputMapTimeOutException extends ObjectsRuntimeException
地图出图超时异常,它可能是数据查询响应超时造成的,也可能是数据绘制超时造成的。- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器和说明 OutputMapTimeOutException(long errorCode, String message, BufferedImage bitmap, int time)创建地图出图超时异常对象。
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 BufferedImagegetBitmap()获取此次异常中涉及的地图位图数据,此接口只有在outputMapToBitmap接口中才有效,其余output接口为null。longgetErrorCode()获取地图出图超时异常的错误码。intgetOutputMapTime()获取地图出图的时间,从绘制开始到绘制被中断的时间,单位:毫秒。
-
-
-
构造器详细资料
-
OutputMapTimeOutException
public OutputMapTimeOutException(long errorCode, String message, BufferedImage bitmap, int time)创建地图出图超时异常对象。- 参数:
errorCode- 异常消息错误码。message- 错误具体说明。bitmap- 位图对象。time- 地图出图的耗时。
-
-
方法详细资料
-
getErrorCode
public long getErrorCode()
获取地图出图超时异常的错误码。- 返回:
- 地图出图超时异常的错误码。
- 从以下版本开始:
- 12.0.1
-
getBitmap
public BufferedImage getBitmap()
获取此次异常中涉及的地图位图数据,此接口只有在outputMapToBitmap接口中才有效,其余output接口为null。- 返回:
- 位图对象。
- 从以下版本开始:
- 12.0.1
-
getOutputMapTime
public int getOutputMapTime()
获取地图出图的时间,从绘制开始到绘制被中断的时间,单位:毫秒。- 返回:
- 地图出图的耗时。
- 从以下版本开始:
- 12.0.1
-
-
Copyright © 2021–2025 SuperMap. All rights reserved.