1 using Mercury.Interpreting;
3 using System.Runtime.Serialization;
5 namespace Mercury.Exceptions
36 : base(message, inner)
74 : base(
"Invalid action call '" + call +
"'"
75 +
": " + string.Format(reason, args) +
"")
96 : base(
"Invalid element '" + element.ToString() +
"'"
97 + (reason != null ?
": " + reason :
""))
119 : base(
"Invalid action '" + action +
"'"
120 + (reason != null ?
": " + reason :
""))
144 int argpos,
string reason, params
object[] args)
145 : base(
"Rule " + rule +
": invalid argument " + argpos.ToString()
146 +
" of '" + call +
"'" + (reason != null ?
": " + string.Format(reason, args) :
""))
168 : base(
"Invalid rewrite rule '" + rule +
"'"
169 + (reason != null ?
": " + string.Format(reason, args) :
""))
191 : base(string.Format(message, args))
InterpretingException(string message)
Initializes a new instance of the InterpretingException class with a specified message.
ErrorActionException(string message, params object[] args)
Initializes a new instance of the ErrorActionException class.
An exception thrown because of problems in the Interpreting namespace.
InvalidActionCallException(string call, string reason, params object[] args)
Initializes a new instance of the InvalidActionCallException class.
ErrorActionException(string message)
Initializes a new instance of the ErrorActionException class.
Exception thrown by basic actions when a problem was encountered.
InterpretingException(SerializationInfo info, StreamingContext context)
Initializes a new instance of the InterpretingException class with serialization data.
An exception representing a problem with Mercury.Interpreting.InterpreterAction{T} class...
An exception representing a problem with Mercury.Interpreting.RewriteRule{T}.
An exception representing a problem with Mercury.Interpreting.ActionCall{T}
An exception representing a problem while type checking the Mercury.Interpreting.RewriteRule{T}.
InterpretingException()
Initializes a new instance of the InterpretingException class.
An exception thrown by the Mercury library.
An exception has been thrown
InvalidActionArgumentException(string rule, string call, int argpos, string reason, params object[] args)
Initializes a new instance of the InvalidActionArgumentException class.
InterpretingException(string message, Exception inner)
Initializes a new instance of the InterpretingException class wit a specified message and an exceptio...
InvalidRewriteRuleException(string rule, string reason, params object[] args)
Initializes a new instance of the InvalidRewriteRuleException class.
An exception representing a problem with Mercury.Interpreting.IElement descendants.
InvalidActionException(string action, string reason, params object[] args)
Initializes a new instance of the InvalidActionException class.
InvalidElementException(IElement element, string reason=null)
Initializes a new instance of the InvalidElementException class.