com.iver.cit.gvsig.fmap.layers
Class ProjectionMismatchException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.iver.cit.gvsig.fmap.layers.ProjectionMismatchException
All Implemented Interfaces:
java.io.Serializable

public class ProjectionMismatchException
extends java.lang.Exception

Excepción provocada por la incompatibilidad de alguna proyección.

See Also:
Serialized Form

Constructor Summary
ProjectionMismatchException(FLayer layer, FMap fmap)
          Crea un nuevo ProjectionMismatchException.
 
Method Summary
 FLayer getLayer()
          Devuelve la capa sobre la que salta la excepción.
 FMap getMap()
          Devuelve el FMap sobre el que ha saltado la excepción.
 
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

ProjectionMismatchException

public ProjectionMismatchException(FLayer layer,
                                   FMap fmap)
Crea un nuevo ProjectionMismatchException.

Parameters:
layer -
fmap -
Method Detail

getLayer

public FLayer getLayer()
Devuelve la capa sobre la que salta la excepción.

Returns:
Capa.

getMap

public FMap getMap()
Devuelve el FMap sobre el que ha saltado la excepción.

Returns:
FMap.