deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.datatypes.parameter
Class InvalidParameterTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalStateException
                  extended by org.deegree.datatypes.parameter.InvalidParameterTypeException
All Implemented Interfaces:
Serializable

public class InvalidParameterTypeException
extends IllegalStateException

Thrown when a parameter is not of the expected type.

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Andreas Poth, last edited by: $Author: mschneider $
See Also:
Serialized Form

Constructor Summary
InvalidParameterTypeException(String message, String parameterName)
          Creates an exception with the specified message and parameter name.
 
Method Summary
 String getParameterName()
          Returns the parameter name.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

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.
Method Detail

getParameterName

public String getParameterName()
Returns the parameter name.

Returns:
the parameter name.

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org