AcUtils
A high performance abstraction layer for AccuRev
List of all members
AcUtils.AcUtilsException Class Reference

Exception thrown when an AccuRev command fails. The AccuRev program return value is zero (0) on success and one (1) on failure unless otherwise noted in the documentation. More...

Collaboration diagram for AcUtils.AcUtilsException:
Collaboration graph
[legend]

Detailed Description

Exception thrown when an AccuRev command fails. The AccuRev program return value is zero (0) on success and one (1) on failure unless otherwise noted in the documentation.

When using AccuRev command processing functions AcCommand.runAsync and AcCommand.run, ensure the correct logic is used to determine if an AcUtilsException should be thrown based on AccuRev's program return value for the command and the version of AccuRev in use. To do so, implement ICmdValidate or override CmdValidate.isValid and pass a reference to the object as the validator second function argument.

Definition at line 34 of file AcUtilsException.cs.