Create a list of new P4Exceptions

Namespace: Perforce.P4
Assembly: p4api.net (in p4api.net.dll) Version: 2017.3.160.836 (2017.3.160.0836)

Syntax

C#
public P4Exception(
	string cmd,
	string[] args,
	P4ClientErrorList errors
)
Visual Basic
Public Sub New ( _
	cmd As String, _
	args As String(), _
	errors As P4ClientErrorList _
)
Visual C++
public:
P4Exception(
	String^ cmd, 
	array<String^>^ args, 
	P4ClientErrorList^ errors
)

Parameters

cmd
Type: System..::..String
command which was run
args
Type: array<System..::..String>[]()[][]
arguments to the command
errors
Type: Perforce.P4..::..P4ClientErrorList
The list of errors which caused the exception

See Also