11 #ifndef _LIBPKG_OS_EXCEPTION
12 #define _LIBPKG_OS_EXCEPTION
37 exception(_kernel_oserror* err,
unsigned int number,
unsigned int r0);
49 virtual const char*
what()
const throw();
An exception class to represent a RISC OS error block.
Definition: exception.h:22
virtual const char * what() const
Get message.
Definition: exception.cc:36
exception(_kernel_oserror *err)
Construct exception from RISC OS error block.
Definition: exception.cc:21
virtual ~exception()
Destroy exception.
Definition: exception.h:41