/*
Copyright 2006 Jerry Huxtable
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package com.jhlabs.map.proj;
public class ProjectionException extends RuntimeException {
public ProjectionException() {
super();
}
public ProjectionException(String message) {
super(message);
}
/*
* const PROJ_ERR_LIST proj_err_list[] = {
{-1, "no arguments in initialization list"},
{-2, "no options found in 'init' file"},
{-3, "no colon in init= string"},
{-4, "projection not named"},
{-5, "unknown projection id"},
{-6, "effective eccentricity = 1."},
{-7, "unknown unit conversion id"},
{-8, "invalid boolean param argument"},
{-9, "unknown elliptical parameter name"},
{-10, "reciprocal flattening (1/f) = 0"},
{-11, "|radius reference latitude| > 90"},
{-12, "squared eccentricity < 0"},
{-13, "major axis or radius = 0 or not given"},
{-14, "latitude or longitude exceeded limits"},
{-15, "invalid x or y"},
{-16, "improperly formed DMS value"},
{-17, "non-convergent inverse meridinal dist"},
{-18, "non-convergent inverse phi2"},
{-19, "acos/asin: |arg| >1.+1e-14"},
{-20, "tolerance condition error"},
{-21, "conic lat_1 = -lat_2"},
{-22, "lat_1 >= 90"},
{-23, "lat_1 = 0"},
{-24, "lat_ts >= 90"},
{-25, "no distance between control points"},
{-26, "projection not selected to be rotated"},
{-27, "W <= 0 or M <= 0"},
{-28, "lsat not in 1-5 range"},
{-29, "path not in range"},
{-30, "h <= 0"},
{-31, "k <= 0"},
{-32, "lat_0 = 0 or 90 or alpha = 90"},
{-33, "lat_1=lat_2 or lat_1=0 or lat_2=90"},
{-34, "elliptical usage required"},
{-35, "invalid UTM zone number"},
{-36, "arg(s) out of range for Tcheby eval"},
{-37, "failed to find projection to be rotated"},
{-38, "failed to load NAD27-83 correction file"},
{-39, "both n & m must be spec'd and > 0"},
{-40, "n <= 0, n > 1 or not specified"},
{-41, "lat_1 or lat_2 not specified"},
{-42, "|lat_1| == |lat_2|"},
{-43, "lat_0 is pi/2 from mean lat"},
{-44, "lat_0 not specified"},
{-45, "lat_0 == 0"},
{-46, "lat_0 != 0"},
{-47, "compiled/linked ONLY with libproj4 and standard libaries"},
{-48, "failed to select tangent or sine mode"},
{-49, "failed to set both +p and +q"},
{0, "0 or invalid projection system error number"}
};
*/
}