1#ifndef __JLANG__JEXCEPTION__ 
    2#define __JLANG__JEXCEPTION__ 
   17namespace JPP { 
using namespace JLANG; }
 
   35      time_t result = time(NULL);
 
   37      return asctime(gmtime(&result));
 
 
   64    virtual const char* 
what() 
const throw()
 override  
 
   78      return out << exception.what();
 
 
   91      static std::ostringstream 
buffer;
 
 
 
  703#define MAKE_EXCEPTION(JException_t, A) JException_t(static_cast<std::ostringstream&>(JLANG::JException::getOstream() << JLANG::JException::getDateAndTime() << ' ' << __FILE__ << ':' << __LINE__ << std::endl << A).str()) 
  712#define THROW(JException_t, A) do { throw MAKE_EXCEPTION(JException_t, A); } while(0) 
Exception for cast operation.
 
JCastException(const std::string &error)
Constructor.
 
Exception for ControlHost.
 
JControlHostException(const std::string &error)
Constructor.
 
JDatabaseException(const std::string &error)
Constructor.
 
Exception for duplicate entry in dictionary.
 
JDictionaryDuplicateEntry(const std::string &error)
Constructor.
 
Exception for missing entry in dictionary.
 
JDictionaryEntryNotFound(const std::string &error)
Constructor.
 
Exception for division by zero.
 
JDivisionByZero(const std::string &error)
Constructor.
 
Exception for an empty collection.
 
JEmptyCollection(const std::string &error)
Constructor.
 
Exception for end of file.
 
JEndOfFile(const std::string &error)
Constructor.
 
static std::ostream & getOstream()
Get output stream for conversion of exception.
 
static std::string getDateAndTime()
Get date and time [UTC].
 
friend std::ostream & operator<<(std::ostream &out, const JException &exception)
Print error message of JException.
 
virtual const char * what() const override
Get error message.
 
JException(const std::string &error)
Constructor.
 
Exception for opening of file.
 
JFileOpenException(const std::string &error)
Constructor.
 
Exception for reading of file.
 
JFileReadException(const std::string &error)
Constructor.
 
Exception for recovery of file.
 
JFileRecoveryException(const std::string &error)
Constructor.
 
Exception for creation of fork.
 
JForkException(const std::string &error)
Constructor.
 
Exception for a functional operation.
 
JFunctionalException(const std::string &error)
Constructor.
 
JIOException(const std::string &error)
Constructor.
 
Exception for accessing an index in a collection that is outside of its range.
 
JIndexOutOfRange(const std::string &error)
Constructor.
 
Exception for failure of memory allocation.
 
JMallocException(const std::string &error)
Constructor.
 
Exception for failure of memory allocation.
 
JNewException(const std::string &error)
Constructor.
 
Exception for missing value.
 
JNoValue(const std::string &error)
Constructor.
 
Exception for null pointer operation.
 
JNullPointerException(const std::string &error)
Constructor.
 
Exception for numerical precision error.
 
JNumericalPrecision(const std::string &error)
Constructor.
 
Exception for parsing value.
 
JParseError(const std::string &error)
Constructor.
 
Exception when parsing a value.
 
JParserException(const std::string &error)
Constructor.
 
Exception for opening of pipe.
 
JPipeOpenException(const std::string &error)
Constructor.
 
Exception for accessing an invalid pointer.
 
JPointerException(const std::string &error)
Constructor.
 
Exception when parsing a value.
 
JPropertiesException(const std::string &error)
Constructor.
 
JProtocolException(const std::string &error)
Constructor.
 
JRunTimeException(const std::string &error)
Constructor.
 
Exception for select call.
 
JSelectException(const std::string &error)
Constructor.
 
Exception for socket channel.
 
JSocketChannelException(const std::string &error)
Constructor.
 
JSocketException(const std::string &error)
Constructor.
 
Exception for system call.
 
JSystemException(const std::string &error)
Constructor.
 
Exception for accessing a value in a collection that is outside of its range.
 
JValueOutOfRange(const std::string &error)
Constructor.
 
Auxiliary classes and methods for language specific functionality.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).