|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
uk.org.ogsadai.exception.DAIException
uk.org.ogsadai.config.KeyValueIllegalException
public class KeyValueIllegalException
The value associated with a key is illegal.
It is expected that the cause exception will explain why the value is illegal. For example, if the key's value is supposed to specify a URI then the cause exception could be URISyntaxException.
| Constructor Summary | |
|---|---|
KeyValueIllegalException(Key key,
java.lang.Object value)
Constructor. |
|
KeyValueIllegalException(Key key,
java.lang.Object value,
java.lang.Throwable cause)
Constructor. |
|
| Method Summary | |
|---|---|
Key |
getKey()
Returns the key. |
java.lang.Object |
getValue()
Returns the value. |
| Methods inherited from class uk.org.ogsadai.exception.DAIException |
|---|
getErrorID, getExceptionID, getLocalizedMessage, getMessage, getParameters, hasChild, setErrorID, setParameters |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, 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 KeyValueIllegalException(Key key,
java.lang.Object value)
key - the key.value - the value that is illegal.
public KeyValueIllegalException(Key key,
java.lang.Object value,
java.lang.Throwable cause)
key - the key.value - the value that is illegal.cause - the cause exception that explains why the value is illegal.| Method Detail |
|---|
public Key getKey()
public java.lang.Object getValue()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||