Example #1
0
 static FormulaException()
 {
     unrecognizedToken    = new FormulaMessage("Unrecognized token");
     unrecognizedFunction = new FormulaMessage("Unrecognized function");
     biff8Supported       = new FormulaMessage("Only biff8 formulas are supported");
     lexicalError         = new FormulaMessage("Lexical error:  ");
     incorrectArguments   = new FormulaMessage("Incorrect arguments supplied to function");
     sheetRefNotFound     = new FormulaMessage("Could not find sheet");
     cellNameNotFound     = new FormulaMessage("Could not find named cell");
 }
Example #2
0
 /**
  * Constructs this exception with the specified message
  *
  * @param m the message
  */
 public FormulaException(FormulaMessage m)
     : base(m.getMessage())
 {
 }
Example #3
0
 /**
  * Constructs this exception with the specified message
  *
  * @param m the message
  * @param val the value
  */
 public FormulaException(FormulaMessage m, string val)
     : base(m.getMessage() + " " + val)
 {
 }
Example #4
0
 /// <summary> Constructs this exception with the specified message
 ///
 /// </summary>
 /// <param name="m">the message
 /// </param>
 public FormulaException(FormulaMessage m, int val) : base(m.message + " " + val)
 {
 }
Example #5
0
 /// <summary> Constructs this exception with the specified message
 ///
 /// </summary>
 /// <param name="m">the message
 /// </param>
 public FormulaException(FormulaMessage m) : base(m.message)
 {
 }
 /**
  * Constructs this exception with the specified message
  *
  * @param m the message
  * @param val the value
  */
 public FormulaException(FormulaMessage m,string val)
     : base(m.getMessage() + " " + val)
 {
 }
 /**
  * Constructs this exception with the specified message
  *
  * @param m the message
  */
 public FormulaException(FormulaMessage m)
     : base(m.getMessage())
 {
 }