org.cts
Class CoordinateDimensionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.cts.IllegalCoordinateException
              extended by org.cts.CoordinateDimensionException
All Implemented Interfaces:
Serializable

public class CoordinateDimensionException
extends IllegalCoordinateException

Exception thrown when a double array input has not the expected length.

Author:
Michaƫl Michaud
See Also:
Serialized Form

Constructor Summary
CoordinateDimensionException(double[] coord, int requiredDimension)
          Creates a new CoordinateDimensionException.
CoordinateDimensionException(String s)
          Creates a new CoordinateDimensionException.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CoordinateDimensionException

public CoordinateDimensionException(String s)
Creates a new CoordinateDimensionException.

Parameters:
s - the message

CoordinateDimensionException

public CoordinateDimensionException(double[] coord,
                                    int requiredDimension)
Creates a new CoordinateDimensionException.

Parameters:
coord - the coord responsible for this exception
requiredDimension - the dimension required by the calling method


Copyright © 2014 IRSTV CNRS-FR-2488. All Rights Reserved.