13 class L0Exception :
public std::exception {
15 virtual const char* what()
const throw() {
16 return "General exception in the L0 API";
20 class L0NoDeviceException :
public L0Exception {
22 virtual const char* what()
const throw() {
23 return "No device at the specified pointer!";
27 class L0CommunicationErrorException :
public L0Exception {
28 virtual const char* what()
const throw() {
29 return "Communication error!";
33 class L0TXRXException :
public L0Exception {
35 virtual const char* what()
const throw() {
36 return "Error while transmitting data!";
48 class L0NoDeviceOpenedException :
public L0Exception {
49 virtual const char* what()
const throw() {
50 return "No device opened!";
54 class L0ParametersErrorException :
public L0Exception {
55 virtual const char* what()
const throw() {
56 return "Parameter Error!";
60 class L0TXException :
public L0Exception {
61 virtual const char* what()
const throw() {
66 class L0RXException :
public L0Exception {
67 virtual const char* what()
const throw() {
72 class L0FactoryInitException :
public L0Exception {
73 virtual const char* what()
const throw() {
74 return "Exception while performing the factory initialization!";
78 class L0EchoException :
public L0Exception {
79 virtual const char* what()
const throw() {
80 return "Echo exception!";