| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Raise an EDatabaseError exception.
Source position: db.pas line 2253
procedure DatabaseError(  | 
const Msg: string  | 
); overload;  | 
const Msg: string;  | 
Comp: TComponent  | 
); overload;  | 
Msg  | 
  | 
Message to specify for the exception  | 
Msg  | 
  | 
Message to specify for the exception  | 
Comp  | 
  | 
Prepend the name of this Component to the message  | 
DatabaseError raises an EDatabaseError exception, passing it Msg. If Comp is specified, the name of the component is prepended to the message.
  | 
Raise an EDatabaseError exception with a formatted message  | 
|
  | 
Base class for all database-related errors  |