Ejemplo n.º 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="argCommand">Invoking command</param>
 public exCommandAlreadyAdded(cBaseCommand argCommand)
     : base("ERROR: Command \'" + argCommand.GetName() + "\' already added!")
 {
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="argCommand">Invoking command</param>
 /// <param name="argMessage">Syntax error message</param>
 public exSyntaxError(cBaseCommand argCommand, string argMessage)
     : base("ERROR: " + argCommand.GetName() + ": syntax error: " + argMessage)
 {
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Constructor 
 /// </summary>
 /// <param name="argCommand">Invoking command</param>
 /// <param name="argFilePath">Path of not existing file</param>
 public exFileNotFound(cBaseCommand argCommand, string argFilePath)
     : base("ERROR: " + argCommand.GetName() + ": File \'" + argFilePath + "\' not found!")
 {
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="argCommmand">Invoking command</param>
 /// <param name="argDirPath">Path of not found directory</param>
 public exDirectoryNotFound(cBaseCommand argCommmand, string argDirPath)
     : base("ERROR: " + argCommmand.GetName() + ": Directory not found! (" + argDirPath + ")!")
 {
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="argCommand">Invoking command</param>
 /// <param name="argFilePath">Path to unopenable file</param>
 public exCantOpenFile(cBaseCommand argCommand, string argFilePath)
     : base("ERROR: " + argCommand.GetName() + ": File \'" + argFilePath + "\' can't be open!")
 {
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="argCommand">Invoking command</param>
 /// <param name="argFilePath">Path of uncreatable file</param>
 public exCantCreateFile(cBaseCommand argCommand, string argFilePath)
     : base("ERROR: "+ argCommand.GetName() + ": Can't create file \'" + argFilePath + "\'!")
 {
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="argCommand">Invoking command</param>
 /// <param name="argPath">Path to unaccesible resource</param>
 public exAccessDenied(cBaseCommand argCommand, string argPath)
     : base("ERROR: " + argCommand.GetName() + ": \'" + argPath + "\' Access denied!")
 {
 }