org.opengis.parameter
Class InvalidParameterNameException
Object
Throwable
Exception
RuntimeException
IllegalArgumentException
InvalidParameterNameException
- All Implemented Interfaces:
- Serializable
@UML(identifier="GC_InvalidParameterName",
specification=OGC_01004)
public class InvalidParameterNameException- extends IllegalArgumentException
Thrown when an unexpected parameter was found in a
parameter group.
- Since:
- 1.0
- See Also:
- Serialized Form
| Methods inherited from class Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
InvalidParameterNameException
public InvalidParameterNameException(String message,
String parameterName)
- Creates an exception with the specified message and parameter name.
- Parameters:
message - The detail message, or null if none. The detail message
is saved for later retrieval by the Throwable.getMessage() method.parameterName - The invalid parameter name.
InvalidParameterNameException
public InvalidParameterNameException(String message,
Throwable cause,
String parameterName)
- Creates an exception with the specified message, cause and parameter name.
- Parameters:
message - The detail message, or null if none. The detail message
is saved for later retrieval by the Throwable.getMessage() method.cause - The cause, or null if none. The cause is saved
for later retrieval by the Throwable.getCause() method.parameterName - The invalid parameter name.- Since:
- 3.1
getParameterName
public String getParameterName()
- Returns the invalid parameter name.
- Returns:
- The name of the invalid parameter.
Copyright © 1994-2012 Open Geospatial Consortium. All Rights Reserved.