org.deegree.datatypes.parameter
Class InvalidParameterTypeException
java.lang.Object
  
java.lang.Throwable
      
java.lang.Exception
          
java.lang.RuntimeException
              
java.lang.IllegalStateException
                  
org.deegree.datatypes.parameter.InvalidParameterTypeException
- All Implemented Interfaces: 
 - Serializable
 
public class InvalidParameterTypeException
- extends IllegalStateException
 
Thrown when a parameter can't be cast to the requested type. For example this exception is thrown
 when ParameterValueIm.doubleValue() is invoked but the value is not convertible to a
 double.
- Version:
 
  - $Revision: 6259 $, $Date: 2007-03-20 10:15:15 +0100 (Di, 20 Mär 2007) $
 
- Author:
 
  - OpenGIS® consortium, last edited by: $Author: bezema $
 
- See Also:
 ParameterValueIm.intValue(), 
ParameterValueIm.doubleValue(), 
Serialized Form
 
 
| Methods inherited from class java.lang.Throwable | 
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
 
 
InvalidParameterTypeException
public InvalidParameterTypeException(String message,
                                     String parameterName)
- Creates an exception with the specified message and parameter name.
- Parameters:
 message - The detail message. The detail message is saved for later retrieval by the
            Throwable.getMessage() method.parameterName - The parameter name.
 
getParameterName
public String getParameterName()
- Returns the parameter name.
- Returns:
 - the parameter name.
 
 
 
				an open source project founded by lat/lon, Bonn, Germany.
					For more information visit: http://deegree.sourceforge.net