org.deegree.datatypes.parameter
Class InvalidParameterNameException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.deegree.datatypes.parameter.InvalidParameterNameException
- All Implemented Interfaces:
- java.io.Serializable
public class InvalidParameterNameException
- extends java.lang.IllegalArgumentException
Thrown when an invalid parameter name is encountered.
- 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 |
InvalidParameterNameException(java.lang.String message,
java.lang.String parameterName)
Creates an exception with the specified message and parameter name. |
Method Summary |
java.lang.String |
getParameterName()
Returns the name of the invalid parameter. |
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 |
InvalidParameterNameException
public InvalidParameterNameException(java.lang.String message,
java.lang.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 invalid parameter name.
getParameterName
public java.lang.String getParameterName()
- Returns the name of the invalid parameter.
- Returns:
- the name of the invalid parameter.
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org