* @throws CarusoException
*/
public final Object getValue() throws CarusoException {
Object val = this.retrieveValue();
if (!this.type.isAssignableFrom(val.getClass())) {
throw new CarusoException("Sensor Attempted to return type "
+ val.getClass().toString()
+ " instead of " + this.type.toString());
}
return val;
}