|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ariba.util.core.WrapperRuntimeException
ariba.util.fieldvalue.FieldValueException
public class FieldValueException
The FieldValueException class provides a simple runtime exception for all the various problems which might occur within the FieldValue dispatch mechanism. See WrapperRuntimeException for details.
| Constructor Summary | |
|---|---|
FieldValueException(Exception exception)
Constructs a new FieldValueException that merely wraps a caught-exception. |
|
FieldValueException(String message)
Constructs a FieldValueException with a descriptive message. |
|
| Method Summary | |
|---|---|
static void |
throwException(Throwable throwable)
Converts a Throwable into a RuntimeException or Error and rethrows it. |
static RuntimeException |
wrapException(Exception exception)
Deprecated. Use throwException(...) Converts an exception into a RuntimeException. If the exception is already a RuntimeException, it is simply returned. Otherwise, it is wrapped in a FieldValueException. |
| Methods inherited from class ariba.util.core.WrapperRuntimeException |
|---|
getExceptionType, originalCause, originalException, wrapsException |
| 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 |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FieldValueException(String message)
message - a message desribing the error condition.public FieldValueException(Exception exception)
exception - the exception which is wrapped (and converted into a runtime exception)| Method Detail |
|---|
public static RuntimeException wrapException(Exception exception)
exception - the exception to be wrapped.
public static void throwException(Throwable throwable)
throwable - the throwable to be converted and rethrown.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||