Examples of WmsException


Examples of org.vfny.geoserver.wms.WmsException

  public Object parse(String value) throws Exception {
    // palette
    try {
      final InverseColorMapOp model = PaletteManager.getPalette(value);
      if (model == null) {
        throw new WmsException("Palette " + value
            + " could not be found "
            + "in $GEOSERVER_DATA_DIR/palettes directory");
      }

      return model;
    } catch (Exception e) {
      throw new WmsException(e, "Palette " + value
          + " could not be loaded", null);
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.