19 namespace Deveel.Data.Sql.Triggers {
22 : this(trigger, FormMessage(trigger), innerException) {
26 : base(-1, message, innerException) {
33 : this(trigger, FormMessage(trigger)) {
37 : this(trigger, message, null) {
51 return String.Format(
"An error occurred when firing trigger '{0}' on table '{1}' on {2}",
52 triggerName, tableName, eventType.AsString());
TriggerEventType
The different types of high layer trigger events.
Describes the name of an object within a database.
TriggerException(Trigger trigger)
TriggerException(Trigger trigger, Exception innerException)
TriggerException(Trigger trigger, string message, Exception innerException)
TriggerEventType EventType
Gets the modification event on the attached table at which to fire the trigger.
TriggerException(Trigger trigger, string message)
TriggerInfo TriggerInfo
Gets the information describing the dynamics of this trigger.
ObjectName TableName
Gets the fully qualified name of the database table on which to attach the trigger.
Represents an event fired at a given modification event (either INSERT, DELETE or UPDATE) at a given ...
static string FormMessage(Trigger trigger)
ObjectName TriggerName
Gets the fully qualified name of the trigger, as defined in TriggerInfo
static string FormMessage(ObjectName tableName, ObjectName triggerName, TriggerEventType eventType)