DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Static Public Attributes | Properties | Private Member Functions | List of all members
Deveel.Data.Sql.HandledExceptions Class Reference

Public Member Functions

 HandledExceptions (IEnumerable< string > exceptionNames)
 
 HandledExceptions (string exceptionName)
 

Static Public Attributes

static readonly HandledExceptions Others = new HandledExceptions(null, true)
 

Properties

bool IsForOthers [get, private set]
 
IEnumerable< string > ExceptionNames [get, private set]
 

Private Member Functions

 HandledExceptions (IEnumerable< string > exceptionNames, bool others)
 

Detailed Description

Definition at line 22 of file HandledExceptions.cs.

Constructor & Destructor Documentation

Deveel.Data.Sql.HandledExceptions.HandledExceptions ( IEnumerable< string >  exceptionNames,
bool  others 
)
inlineprivate

Definition at line 25 of file HandledExceptions.cs.

25  {
26  if (!others) {
27  if (exceptionNames == null)
28  throw new ArgumentNullException("exceptionNames");
29 
30  if (exceptionNames.Any(String.IsNullOrEmpty))
31  throw new ArgumentException();
32  }
33 
34  ExceptionNames = exceptionNames;
35  IsForOthers = others;
36  }
A long string in the system.
IEnumerable< string > ExceptionNames
Deveel.Data.Sql.HandledExceptions.HandledExceptions ( IEnumerable< string >  exceptionNames)
inline

Definition at line 38 of file HandledExceptions.cs.

39  : this(exceptionNames, false) {
40  }
Deveel.Data.Sql.HandledExceptions.HandledExceptions ( string  exceptionName)
inline

Definition at line 42 of file HandledExceptions.cs.

43  : this(new[] {exceptionName}) {
44  }

Member Data Documentation

readonly HandledExceptions Deveel.Data.Sql.HandledExceptions.Others = new HandledExceptions(null, true)
static

Definition at line 23 of file HandledExceptions.cs.

Property Documentation

IEnumerable<string> Deveel.Data.Sql.HandledExceptions.ExceptionNames
getprivate set

Definition at line 48 of file HandledExceptions.cs.

bool Deveel.Data.Sql.HandledExceptions.IsForOthers
getprivate set

Definition at line 46 of file HandledExceptions.cs.


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