|
|||||||||||
| 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
|
+--org.codehaus.spice.salt.config.ParameterException
The ParameterException is used to signal a problem retrieving a parameter from the Parameters object.
| Constructor Summary | |
ParameterException(String message,
String key)
Create a ParameterException with specified message and key. |
|
ParameterException(String message,
String key,
Throwable cause)
Create a ParameterException with specified message, key and cause. |
|
| Method Summary | |
Throwable |
getCause()
Return the exception that caused this exception if any. |
String |
getKey()
Return the parameter key that caused the problem. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, 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 ParameterException(String message,
String key)
message - the messagekey - the key
public ParameterException(String message,
String key,
Throwable cause)
message - the messagekey - the keycause - the cause| Method Detail |
public String getKey()
public Throwable getCause()
getCause in class Throwable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||