00001 using System;
00002
00003 namespace SQLiteCSLib.Inner
00004 {
00008 public class CallUserException : Exception
00009 {
00013 protected int m_errorcode = 0;
00014
00018 protected bool m_errorcodeenable = false;
00019
00023 protected string m_errortext = string.Empty;
00024
00028 protected bool m_toobig = false;
00029
00033 protected bool m_nomem = false;
00034
00038 public int ErrorCode
00039 {
00040 get
00041 {
00042 return m_errorcode;
00043 }
00044 set
00045 {
00046 m_errorcode = value;
00047 m_errorcodeenable = true;
00048 }
00049 }
00050
00054 public bool ErrorCodeEnable
00055 {
00056 get
00057 {
00058 return m_errorcodeenable;
00059 }
00060 }
00061
00065 public string ErrorText
00066 {
00067 get
00068 {
00069 return m_errortext;
00070 }
00071 set
00072 {
00073 m_errortext = value;
00074 }
00075 }
00076
00080 public bool Toobig
00081 {
00082 get
00083 {
00084 return m_toobig;
00085 }
00086 set
00087 {
00088 m_toobig = value;
00089 }
00090 }
00091
00095 public bool Nomem
00096 {
00097 get
00098 {
00099 return m_nomem;
00100 }
00101 set
00102 {
00103 m_nomem = value;
00104 }
00105 }
00106
00110 public CallUserException() : base()
00111 {
00112 }
00113
00118 public CallUserException( string errortext ) : base( errortext )
00119 {
00120 m_errortext = errortext;
00121 }
00122 }
00123 }