us.zuercher.gpx2map
Class UnknownMapSourceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
us.zuercher.gpx2map.Gpx2MapException
us.zuercher.gpx2map.UnknownMapSourceException
- All Implemented Interfaces:
- Serializable
public class UnknownMapSourceException
- extends Gpx2MapException
UnknownMapSourceException represents an unknown
MapSource
name.
- Author:
- Stephan Zuercher
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
mapSourceName
private final String mapSourceName
- Map source name that caused the exception.
UnknownMapSourceException
public UnknownMapSourceException(String mapSourceName)
- Constructs an UnknownMapSourceException.
- Parameters:
mapSourceName
- the map source name that was not found
UnknownMapSourceException
public UnknownMapSourceException(String mapSourceName,
Throwable cause)
- Constructs an UnknownMapSourceException.
- Parameters:
mapSourceName
- the map source name that was not foundcause
- the root cause
getMapSourceName
public String getMapSourceName()
- Returns the name of the map source that could not be found.
- Returns:
- the name of the map source that could not be found.