|
vSphere Client SDK API Documentation : version 5.5.0.1300321 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vmware.vise.search.ValueEx<T>
public class ValueEx<T>
A combo containing a value along with some exceptions that may have occurred while calculating the value.
Constructor Summary | |
---|---|
ValueEx(T value)
Create an instance of this class that doesn't contain any exceptions, only a value. |
|
ValueEx(T value,
Collection<? extends Exception> exceptions)
Create an instance of this class. |
|
ValueEx(T value,
Exception exception)
Create an instance of this class that contains a value and a single exception. |
Method Summary | |
---|---|
Collection<? extends Exception> |
getExceptions()
|
T |
getValue()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValueEx(T value)
value
- the value of some computationpublic ValueEx(T value, Exception exception)
value
- the value of some computationexception
- an exception that occurred while computing the valuepublic ValueEx(T value, Collection<? extends Exception> exceptions)
value
- the value of some computationexceptions
- any exceptions that may have occurred while computing
the value; can be null
Method Detail |
---|
public T getValue()
public Collection<? extends Exception> getExceptions()
null
; if empty, then
no exceptions occurredgetValue()
|
vSphere Client SDK API Documentation : version 5.5.0.1300321 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |