1 #ifndef __JLANG__JEXCEPTION__ 
    2 #define __JLANG__JEXCEPTION__ 
   17 namespace 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 opening of file. 
 
JSystemException(const std::string &error)
Constructor. 
 
Exception for failure of memory allocation. 
 
Exception for reading of file. 
 
JDatabaseException(const std::string &error)
Constructor. 
 
friend std::ostream & operator<<(std::ostream &out, const JException &exception)
Print error message of JException. 
 
JMallocException(const std::string &error)
Constructor. 
 
JPropertiesException(const std::string &error)
Constructor. 
 
JEmptyCollection(const std::string &error)
Constructor. 
 
Exception for accessing an invalid pointer. 
 
Exception for a functional operation. 
 
static std::ostream & getOstream()
Get output stream for conversion of exception. 
 
JNewException(const std::string &error)
Constructor. 
 
Exception for socket channel. 
 
JProtocolException(const std::string &error)
Constructor. 
 
JControlHostException(const std::string &error)
Constructor. 
 
JEndOfFile(const std::string &error)
Constructor. 
 
Exception when parsing a value. 
 
JSocketChannelException(const std::string &error)
Constructor. 
 
JSelectException(const std::string &error)
Constructor. 
 
JPointerException(const std::string &error)
Constructor. 
 
JParserException(const std::string &error)
Constructor. 
 
JIndexOutOfRange(const std::string &error)
Constructor. 
 
JParseError(const std::string &error)
Constructor. 
 
JForkException(const std::string &error)
Constructor. 
 
Exception for select call. 
 
JDictionaryDuplicateEntry(const std::string &error)
Constructor. 
 
Exception for missing value. 
 
static std::string getDateAndTime()
Get date and time [UTC]. 
 
Exception for null pointer operation. 
 
Exception for opening of pipe. 
 
Exception for missing entry in dictionary. 
 
Exception for duplicate entry in dictionary. 
 
Exception for failure of memory allocation. 
 
JDictionaryEntryNotFound(const std::string &error)
Constructor. 
 
Exception for creation of fork. 
 
JNumericalPrecision(const std::string &error)
Constructor. 
 
Exception for ControlHost. 
 
JValueOutOfRange(const std::string &error)
Constructor. 
 
JIOException(const std::string &error)
Constructor. 
 
Exception when parsing a value. 
 
JDivisionByZero(const std::string &error)
Constructor. 
 
Exception for cast operation. 
 
JFunctionalException(const std::string &error)
Constructor. 
 
Exception for numerical precision error. 
 
virtual const char * what() const override
Get error message. 
 
JFileOpenException(const std::string &error)
Constructor. 
 
JSocketException(const std::string &error)
Constructor. 
 
Exception for division by zero. 
 
Exception for system call. 
 
JFileRecoveryException(const std::string &error)
Constructor. 
 
Exception for parsing value. 
 
Exception for an empty collection. 
 
JFileReadException(const std::string &error)
Constructor. 
 
JRunTimeException(const std::string &error)
Constructor. 
 
Exception for accessing a value in a collection that is outside of its range. 
 
JNoValue(const std::string &error)
Constructor. 
 
Exception for recovery of file. 
 
Exception for accessing an index in a collection that is outside of its range. 
 
Exception for end of file. 
 
JNullPointerException(const std::string &error)
Constructor. 
 
JCastException(const std::string &error)
Constructor. 
 
JPipeOpenException(const std::string &error)
Constructor. 
 
JException(const std::string &error)
Constructor.