Jpp
|
#include <exception>
#include <string>
#include <ostream>
#include <sstream>
Go to the source code of this file.
Classes | |
class | JLANG::JException |
General exception. More... | |
class | JLANG::JIndexOutOfRange |
Exception for accessing an index in a collection that is outside of its range. More... | |
class | JLANG::JPointerException |
Exception for accessing an invalid pointer. More... | |
class | JLANG::JFunctionalException |
Exception for a functional operation. More... | |
class | JLANG::JEmptyCollection |
Exception for an empty collection. More... | |
class | JLANG::JValueOutOfRange |
Exception for accessing a value in a collection that is outside of its range. More... | |
class | JLANG::JParseError |
Exception for parsing value. More... | |
class | JLANG::JNoValue |
Exception for missing value. More... | |
class | JLANG::JNullPointerException |
Exception for null pointer operation. More... | |
class | JLANG::JCastException |
Exception for cast operation. More... | |
class | JLANG::JNumericalPrecision |
Exception for numerical precision error. More... | |
class | JLANG::JDivisionByZero |
Exception for division by zero. More... | |
class | JLANG::JMallocException |
Exception for failure of memory allocation. More... | |
class | JLANG::JNewException |
Exception for failure of memory allocation. More... | |
class | JLANG::JIOException |
Exception for I/O. More... | |
class | JLANG::JFileOpenException |
Exception for opening of file. More... | |
class | JLANG::JFileReadException |
Exception for reading of file. More... | |
class | JLANG::JEndOfFile |
Exception for end of file. More... | |
class | JLANG::JPipeOpenException |
Exception for opening of pipe. More... | |
class | JLANG::JSelectException |
Exception for select call. More... | |
class | JLANG::JSocketException |
Exception for socket. More... | |
class | JLANG::JControlHostException |
Exception for ControlHost. More... | |
class | JLANG::JSocketChannelException |
Exception for socket channel. More... | |
class | JLANG::JForkException |
Exception for creation of fork. More... | |
class | JLANG::JSystemException |
Exception for system call. More... | |
class | JLANG::JParserException |
Exception when parsing a value. More... | |
class | JLANG::JPropertiesException |
Exception when parsing a value. More... | |
class | JLANG::JDictionaryEntryNotFound |
Exception for missing entry in dictionary. More... | |
class | JLANG::JDictionaryDuplicateEntry |
Exception for duplicate entry in dictionary. More... | |
class | JLANG::JRunTimeException |
Run time exception. More... | |
class | JLANG::JTypeInformationException |
Exception for absence of type information. More... | |
class | JLANG::JProtocolException |
Protocol exception. More... | |
class | JLANG::JDatabaseException |
Database exception. More... | |
Namespaces | |
JLANG | |
Auxiliary classes and methods for language specific functionality. | |
JPP | |
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES). | |
Macros | |
#define | THROW(JException_t, A) do { throw JException_t(static_cast<std::ostringstream&>(JLANG::getOstream() << __FILE__ << ':' << __LINE__ << std::endl << A).str()); } while(0) |
Marco for throwing exception with std::ostream compatible message. More... | |
Functions | |
std::ostream & | JLANG::getOstream () |
Get output stream for conversion of exception. More... | |
Exceptions.
Definition in file JException.hh.
#define THROW | ( | JException_t, | |
A | |||
) | do { throw JException_t(static_cast<std::ostringstream&>(JLANG::getOstream() << __FILE__ << ':' << __LINE__ << std::endl << A).str()); } while(0) |
Marco for throwing exception with std::ostream compatible message.
JException_t | exception |
A | message |
Definition at line 669 of file JException.hh.