org.pentaho.platform.util.beans
Class ActionHarness.DefaultActionCallback
java.lang.Object
org.pentaho.platform.util.beans.BeanUtil.EagerFailingCallback
org.pentaho.platform.util.beans.ActionHarness.DefaultActionCallback
- All Implemented Interfaces:
- ValueSetErrorCallback
- Enclosing class:
- ActionHarness
public static class ActionHarness.DefaultActionCallback
- extends BeanUtil.EagerFailingCallback
ActionHarness.DefaultActionCallback
public ActionHarness.DefaultActionCallback()
propertyNotWritable
public void propertyNotWritable(Object bean,
String propertyName)
throws Exception
- Description copied from interface:
ValueSetErrorCallback
- Fired if, prior to the value being set, the write-check on the property fails.
- Specified by:
propertyNotWritable
in interface ValueSetErrorCallback
- Overrides:
propertyNotWritable
in class BeanUtil.EagerFailingCallback
- Parameters:
bean
- the bean on which write test was performedpropertyName
- the name of the property that is not writable on the bean
- Throws:
Exception
- throw an exception if you consider this to be a terminal condition