org.geonames
Class GeoNamesException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.geonames.GeoNamesException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- InsufficientStyleException, InvalidParameterException
public class GeoNamesException
- extends Exception
- Since:
- 20.01.2011
- Author:
- marc
- See Also:
- Serialized Form
GeoNamesException
public GeoNamesException(int exceptionCode,
String msg)
GeoNamesException
public GeoNamesException(String msg)
getMessage
public String getMessage()
- Overrides:
getMessage in class Throwable
- Returns:
- the message
getExceptionCode
public int getExceptionCode()
- Returns:
- the exceptionCode