|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException java.lang.IllegalArgumentException org.deegree.commons.utils.kvp.InvalidParameterValueException
public class InvalidParameterValueException
Thrown to indicate that a parameter has an unsupported or unsuitable value.
Constructor Summary | |
---|---|
InvalidParameterValueException()
Constructs a new InvalidParameterValueException with null as its detail message. |
|
InvalidParameterValueException(String msg)
Constructs a new InvalidParameterValueException with the specified detail message. |
|
InvalidParameterValueException(String msg,
String param)
Constructs a new InvalidParameterValueException with the specified detail message. |
|
InvalidParameterValueException(String msg,
Throwable cause)
Constructs a new InvalidParameterValueException with the specified detail message and cause. |
|
InvalidParameterValueException(Throwable cause)
Constructs a new InvalidParameterValueException exception with the specified cause and a detail message
of (cause==null ? |
Method Summary | |
---|---|
String |
getName()
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 |
Constructor Detail |
---|
public InvalidParameterValueException()
InvalidParameterValueException
with null as its detail message.
public InvalidParameterValueException(String msg)
InvalidParameterValueException
with the specified detail message.
msg
- the detail message (which is saved for later retrieval by the Throwable.getMessage()
method).public InvalidParameterValueException(String msg, String param)
InvalidParameterValueException
with the specified detail message.
msg
- the detail message (which is saved for later retrieval by the Throwable.getMessage()
method)param
- name of the missing parameterpublic InvalidParameterValueException(String msg, Throwable cause)
InvalidParameterValueException
with the specified detail message and cause.
msg
- the detail message (which is saved for later retrieval by the Throwable.getMessage()
method).cause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method). (A
null
value is permitted, and indicates that the cause is nonexistent or unknown.)public InvalidParameterValueException(Throwable cause)
InvalidParameterValueException
exception with the specified cause and a detail message
of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause). This constructor is useful for runtime exceptions that are little more than wrappers for other
throwables.
cause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method). (A
null
value is permitted, and indicates that the cause is nonexistent or unknown.)Method Detail |
---|
public String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |