DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Properties | Private Member Functions | List of all members
Deveel.Data.Sql.ExceptionHandler Class Reference
Inheritance diagram for Deveel.Data.Sql.ExceptionHandler:
Deveel.Data.Sql.Expressions.IPreparable

Public Member Functions

 ExceptionHandler (HandledExceptions handled)
 
bool Handles (string exceptionName)
 

Properties

HandledExceptions Handled [get, private set]
 
ICollection< SqlStatementStatements [get, private set]
 

Private Member Functions

ExceptionHandler PrepareExpressions (IExpressionPreparer preparer)
 
object IPreparable. Prepare (IExpressionPreparer preparer)
 Converts the underlying value of this instance into an object that can be evaluated by an expression. More...
 

Detailed Description

Definition at line 25 of file ExceptionHandler.cs.

Constructor & Destructor Documentation

Deveel.Data.Sql.ExceptionHandler.ExceptionHandler ( HandledExceptions  handled)
inline

Definition at line 26 of file ExceptionHandler.cs.

26  {
27  if (handled == null)
28  throw new ArgumentNullException("handled");
29 
30  Handled = handled;
31  Statements = new List<SqlStatement>();
32  }
ICollection< SqlStatement > Statements

Member Function Documentation

bool Deveel.Data.Sql.ExceptionHandler.Handles ( string  exceptionName)
inline

Definition at line 38 of file ExceptionHandler.cs.

38  {
39  return Handled.ExceptionNames.Any(x => String.Equals(x, exceptionName, StringComparison.OrdinalIgnoreCase)) ||
41  }
A long string in the system.
IEnumerable< string > ExceptionNames
object IPreparable. Deveel.Data.Sql.ExceptionHandler.Prepare ( IExpressionPreparer  preparer)
inlineprivate

Converts the underlying value of this instance into an object that can be evaluated by an expression.

Parameters
preparerThe context used to prepare this object.
Returns
Returns an object that can be evaluated by an expression.

Implements Deveel.Data.Sql.Expressions.IPreparable.

Definition at line 47 of file ExceptionHandler.cs.

47  {
48  return PrepareExpressions(preparer);
49  }
ExceptionHandler PrepareExpressions(IExpressionPreparer preparer)
ExceptionHandler Deveel.Data.Sql.ExceptionHandler.PrepareExpressions ( IExpressionPreparer  preparer)
inlineprivate

Definition at line 43 of file ExceptionHandler.cs.

43  {
44  throw new NotImplementedException();
45  }

Property Documentation

HandledExceptions Deveel.Data.Sql.ExceptionHandler.Handled
getprivate set

Definition at line 34 of file ExceptionHandler.cs.

ICollection<SqlStatement> Deveel.Data.Sql.ExceptionHandler.Statements
getprivate set

Definition at line 36 of file ExceptionHandler.cs.


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