added VBatchException class; logging improvements