org.geonames
Class InvalidParameterException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.geonames.GeoNamesException
              extended by org.geonames.InvalidParameterException
All Implemented Interfaces:
Serializable

public class InvalidParameterException
extends GeoNamesException

is thrown when the search criteria is initialized with obviously invalid parameters, such as an invalid country code.

Author:
marc
See Also:
Serialized Form

Constructor Summary
InvalidParameterException(String msg)
           
 
Method Summary
 
Methods inherited from class org.geonames.GeoNamesException
getExceptionCode, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

InvalidParameterException

public InvalidParameterException(String msg)