class exception

Class that could be used to throw exceptions in connection errors. More...

Full nametoConnection::exception
Definition#include <toconnection.h>
InheritsQString (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

Class that could be used to throw exceptions in connection errors. Must use if you want to indicate error offset.

 exception (const QString &str,int offset=-1)

exception

Create an exception with a string description.

int  offset (void)

offset

[const]

Get the offset of the error of the current statement.

void  setOffset (int offset)

setOffset

Set the offset of the error of the error.