OpenASIP  2.0
Classes | Macros
Exception.hh File Reference
#include <string>
#include "Exception.icc"
Include dependency graph for Exception.hh:

Go to the source code of this file.

Classes

class  Exception
 
class  IllegalParameters
 
class  IOException
 
class  InvalidData
 
class  UnreachableStream
 
class  EndOfFile
 
class  WritePastEOF
 
class  FileNotFound
 
class  PathNotFound
 
class  KeyAlreadyExists
 
class  KeyNotFound
 
class  InstanceNotFound
 
class  OutOfRange
 
class  WrongSubclass
 
class  NotChunkable
 
class  UnresolvedReference
 
class  ErrorInExternalFile
 
class  MissingKeys
 
class  NumberFormatException
 
class  IllegalCommandLine
 
class  UnexpectedValue
 
class  IllegalConnectivity
 
class  ParserStopRequest
 
class  ComponentAlreadyExists
 
class  IllegalRegistration
 
class  ObjectStateLoadingException
 
class  NonexistingChild
 
class  DynamicLibraryException
 
class  MultipleInstancesFound
 
class  SymbolNotFound
 
class  ObjectNotInitialized
 
class  ScriptExecutionFailure
 
class  SerializerException
 
class  RelationalDBException
 
class  StartTooLate
 
class  NotAvailable
 
class  CannotEstimateCost
 
class  WrongOperandType
 
class  BadOperationModule
 
class  TypeMismatch
 
class  InvalidName
 
class  IllegalOperationBehavior
 
class  NonexistingSyscall
 
class  IllegalMachine
 
class  IllegalProgram
 
class  SimulationException
 
class  SimulationStillRunning
 
class  SimulationExecutionError
 
class  SimulationCycleLimitReached
 
class  SimulationTimeOut
 
class  ObjectAlreadyExists
 
class  CompileError
 
class  ModuleRunTimeError
 
class  NoKnownConversion
 

Macros

#define THROW_EXCEPTION(exceptionType, message)   throw exceptionType(__FILE__, __LINE__, __func__, std::string() + message)
 Exception wrapper macro that automatically includes file name, line number and function name where the throw is made. More...
 

Detailed Description

Declarations of exception classes.

Author
Mikael Lepistö 2003 (tmlepist-no.spam-cs.tut.fi)

Definition in file Exception.hh.

Macro Definition Documentation

◆ THROW_EXCEPTION

#define THROW_EXCEPTION (   exceptionType,
  message 
)    throw exceptionType(__FILE__, __LINE__, __func__, std::string() + message)

Exception wrapper macro that automatically includes file name, line number and function name where the throw is made.

Definition at line 39 of file Exception.hh.