com.supermap.mapping

类 OutputMapTimeOutException

  • 所有已实现的接口:
    Serializable


    public class OutputMapTimeOutException
    extends ObjectsRuntimeException
    地图出图超时异常,它可能是数据查询响应超时造成的,也可能是数据绘制超时造成的。
    另请参阅:
    序列化表格
    • 构造器详细资料

      • 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.