DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Properties | Static Private Member Functions | List of all members
Deveel.Data.Routines.RoutineNotFouncException Class Reference
Inheritance diagram for Deveel.Data.Routines.RoutineNotFouncException:
Deveel.Data.ObjectNotFoundException Deveel.Data.DatabaseSystemException Deveel.Data.Diagnostics.ErrorException

Public Member Functions

 RoutineNotFouncException (ObjectName routineName)
 
 RoutineNotFouncException (string message)
 
 RoutineNotFouncException (ObjectName routineName, string message)
 
 RoutineNotFouncException (ObjectName routineName, SqlExpression[] args)
 
 RoutineNotFouncException (ObjectName routineName, SqlExpression[] args, string message)
 
- Public Member Functions inherited from Deveel.Data.ObjectNotFoundException
 ObjectNotFoundException (ObjectName objectName)
 
 ObjectNotFoundException (string message)
 
 ObjectNotFoundException (ObjectName objectName, string message)
 
- Public Member Functions inherited from Deveel.Data.DatabaseSystemException
 DatabaseSystemException (int errorCode)
 
 DatabaseSystemException (int errorCode, string message)
 
 DatabaseSystemException (string message)
 
 DatabaseSystemException (string message, Exception innerException)
 
 DatabaseSystemException (int errorCode, string message, Exception innerException)
 
- Public Member Functions inherited from Deveel.Data.Diagnostics.ErrorException
 ErrorException (int errorCode)
 
 ErrorException (int errorCode, string message)
 
 ErrorException ()
 
 ErrorException (string message)
 
 ErrorException (string message, Exception innerException)
 
 ErrorException (int errorCode, string message, Exception innerException)
 
ErrorEvent AsEvent (IEventSource source)
 Transforms the error to an event to be passed to the diagnostics, given a source where this was generated. More...
 

Properties

SqlExpression[] Arguments [get, private set]
 
- Properties inherited from Deveel.Data.ObjectNotFoundException
ObjectName ObjectName [get, private set]
 
- Properties inherited from Deveel.Data.Diagnostics.ErrorException
int ErrorCode [get, private set]
 Gets a numeric value representing the code of the error catched by this exception. More...
 
virtual ErrorLevel ErrorLevel [get]
 Gets the error level of this exception. More...
 

Static Private Member Functions

static string FormMessage (ObjectName name, SqlExpression[] args)
 

Detailed Description

Definition at line 25 of file RoutineNotFouncException.cs.

Constructor & Destructor Documentation

Deveel.Data.Routines.RoutineNotFouncException.RoutineNotFouncException ( ObjectName  routineName)
inline

Definition at line 26 of file RoutineNotFouncException.cs.

27  : this(routineName, new SqlExpression[0]) {
28  }
Defines the base class for instances that represent SQL expression tree nodes.
Deveel.Data.Routines.RoutineNotFouncException.RoutineNotFouncException ( string  message)
inline

Definition at line 30 of file RoutineNotFouncException.cs.

31  : this(null, message) {
32  }
Deveel.Data.Routines.RoutineNotFouncException.RoutineNotFouncException ( ObjectName  routineName,
string  message 
)
inline

Definition at line 34 of file RoutineNotFouncException.cs.

35  : this(routineName, new SqlExpression[0], message) {
36  }
Defines the base class for instances that represent SQL expression tree nodes.
Deveel.Data.Routines.RoutineNotFouncException.RoutineNotFouncException ( ObjectName  routineName,
SqlExpression[]  args 
)
inline

Definition at line 38 of file RoutineNotFouncException.cs.

39  : this(routineName, args, FormMessage(routineName, args)) {
40  }
static string FormMessage(ObjectName name, SqlExpression[] args)
Deveel.Data.Routines.RoutineNotFouncException.RoutineNotFouncException ( ObjectName  routineName,
SqlExpression[]  args,
string  message 
)
inline

Definition at line 42 of file RoutineNotFouncException.cs.

43  : base(routineName, message) {
44  Arguments = args;
45  }

Member Function Documentation

static string Deveel.Data.Routines.RoutineNotFouncException.FormMessage ( ObjectName  name,
SqlExpression[]  args 
)
inlinestaticprivate

Definition at line 49 of file RoutineNotFouncException.cs.

49  {
50  var sb = new StringBuilder(name.FullName);
51  sb.Append("(");
52  if (args != null) {
53  for (int i = 0; i < args.Length; i++) {
54  sb.Append(args[i]);
55 
56  if (i < args.Length - 1)
57  sb.Append(", ");
58  }
59  }
60  sb.Append(")");
61 
62  return String.Format("Unable to resolve {0} to any routine within the system.", sb);
63  }
A long string in the system.
string FullName
Gets the full reference name formatted.
Definition: ObjectName.cs:114

Property Documentation

SqlExpression [] Deveel.Data.Routines.RoutineNotFouncException.Arguments
getprivate set

Definition at line 47 of file RoutineNotFouncException.cs.


The documentation for this class was generated from the following file: