/**
* @see net.rim.device.api.script.ScriptableFunction#construct(java.lang.Object, java.lang.Object[])
*/
public Object construct( final Object thiz, final Object[] args ) throws Exception {
if( args != null && args.length == 1 ) {
final TaskObject t = (TaskObject) args[ 0 ];
return new TaskArgumentsObject( t );
}
return new TaskArgumentsObject();
}