public class InvalidParameterException extends DeltaXMLDocBookException
Thrown to indicate that a parameter or its value is invalid. For example, the parameter dose not exist or its value is not in the expected range.
Constructor and Description |
---|
InvalidParameterException(java.lang.String message,
java.lang.String parameterName,
java.lang.Object parameterValue)
Creates a new InvalidParameterException.
|
InvalidParameterException(java.lang.String message,
java.lang.Throwable t,
java.lang.String parameterName,
java.lang.Object parameterValue)
Creates a new InvalidParameterException.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getParameterName()
Provides the name of the parameter that was causing the problem.
|
java.lang.Object |
getParameterValue()
Provides the name of the parameter that was causing the problem.
|
public InvalidParameterException(java.lang.String message, java.lang.String parameterName, java.lang.Object parameterValue)
message
- The exception message StringparameterName
- the parameter which is at faultparameterValue
- the value of the parameterpublic InvalidParameterException(java.lang.String message, java.lang.Throwable t, java.lang.String parameterName, java.lang.Object parameterValue)
message
- the Exception message Stringt
- a nested Throwable that caused this ExceptionparameterName
- the name of the parameter which is at faultparameterValue
- the value of the parameterpublic java.lang.String getParameterName()
public java.lang.Object getParameterValue()
Copyright (c) 2010-2016 DeltaXML Ltd. All Rights Reserved.