Package 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
-
-
Constructor Summary
Constructors Constructor Description GeoNamesException(int exceptionCode, String msg)
GeoNamesException(String msg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getExceptionCode()
String
getMessage()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
- Returns:
- the message
-
getExceptionCode
public int getExceptionCode()
- Returns:
- the exceptionCode
-
-