T
- the value typepublic final class CheckedValue<T> extends Object implements Value<T>
Constructor and Description |
---|
CheckedValue(Class<T> valueClass,
Value<?> value)
Construct a new instance.
|
public T getValue() throws IllegalStateException
getValue
in interface Value<T>
IllegalStateException
- if the value is time-sensitive and the current state does not allow retrieval.Copyright © 2017 JBoss by Red Hat. All rights reserved.