|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
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.MissingParameterException
public class MissingParameterException
Thrown to indicate that a required parameter is missing.
Constructor Summary | |
---|---|
MissingParameterException()
Constructs a new MissingParameterException with null as its detail message. |
|
MissingParameterException(String msg)
Constructs a new MissingParameterException with the specified detail message. |
|
MissingParameterException(String msg,
String param)
Constructs a new MissingParameterException with the specified detail message. |
|
MissingParameterException(String msg,
Throwable cause)
Constructs a new MissingParameterException with the specified detail message and cause. |
|
MissingParameterException(Throwable cause)
Constructs a new MissingParameterException exception with the specified cause and a detail message of
(cause==null ? |
Method Summary | |
---|---|
String |
getName()
Returns the name of the missing 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 MissingParameterException()
MissingParameterException
with null as its detail message.
public MissingParameterException(String msg)
MissingParameterException
with the specified detail message.
msg
- the detail message (which is saved for later retrieval by the Throwable.getMessage()
method).public MissingParameterException(String msg, String param)
MissingParameterException
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 MissingParameterException(String msg, Throwable cause)
MissingParameterException
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 MissingParameterException(Throwable cause)
MissingParameterException
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()
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |