Classes | Functions
Balau::Exception Namespace Reference

All exception classes. More...

Classes

class  AssertionException
 The exception thrown by the test runner when an assertion fails. More...
 
class  BalauException
 Base class of all Balau exceptions. More...
 
class  BindingException
 Base class of binding exceptions. More...
 
class  BugException
 Thrown when a bug is encountered (mainly unimplemented switch cases). More...
 
class  CommandlineException
 Base class of command line exception classes. More...
 
class  ConversionException
 Thrown when a conversion fails. More...
 
class  CouldNotCreateException
 Thrown when a resource could not be created. More...
 
class  CouldNotOpenException
 Thrown when a resource could not be opened. More...
 
class  CyclicDependencyException
 Thrown when the supplied binding configuration has a cyclic dependency. More...
 
class  DuplicateBindingException
 Thrown when an illegal injector binding configuration is attempted. More...
 
class  EmptyException
 Thrown when a request is made for an element but no elements are available. More...
 
class  EnvironmentConfigurationException
 Thrown when there is an issue loading an environment property file. More...
 
class  ErrNoException
 Abstract base class of exceptions that report errno. More...
 
class  FileNotFoundException
 Thrown when a resource is not found. More...
 
class  ForkException
 Thrown when a fork call fails. More...
 
class  IllegalArgumentException
 Thrown when an illegal argument is passed to a function or method. More...
 
class  IllegalStateException
 Thrown when a variable is not in a valid state or when a section of code has been executed at an inappropriate time. More...
 
class  IndexOutOfRangeException
 Thrown when a specified index is not in the valid range. More...
 
class  InvalidUriException
 Thrown when a URI is invalid. More...
 
class  IOException
 Thrown when an IO exception occurs. More...
 
class  ItemDoesNotExistException
 Thrown when an attempt is made to remove a non-existing item in a container. More...
 
class  ItemExistsException
 Thrown when an attempt is made to add an existing item to a container. More...
 
class  LoggingConfigurationException
 Exception thrown by the logging system configuration. More...
 
class  MissingDependencyException
 Thrown when no binding is found in the injector. More...
 
class  MissingFinalValueException
 Thrown when there is no final value available and one is required. More...
 
class  MissingOptionValueException
 Thrown when there is no option value available and one is required. More...
 
class  NetworkException
 Base class of network exceptions. More...
 
class  NoBindingException
 Thrown when no binding is found in the injector. More...
 
class  NotFoundException
 Thrown when a resource is not found. More...
 
class  NotImplementedException
 Thrown when a feature is not yet implemented. More...
 
class  OptionNotFoundException
 Thrown when an invalid command line parameter is specified. More...
 
class  OptionValueException
 Thrown when a requested option value cannot be coerced into the required type. More...
 
class  RelationshipDoesNotExistException
 Thrown when a non-existent relationship between two items is requested. More...
 
class  ResourceException
 Abstract base class of resource classes. More...
 
class  SharedInjectorException
 Thrown when an attempt is made to create a shared pointer binding to the injector. More...
 
class  SizeException
 Thrown when an invalid size is supplied or detected. More...
 
class  SyntaxErrorException
 Thrown when a parser incurs invalid syntax. More...
 
class  TestRunnerException
 Thrown by the test runner when there is a non test related error. More...
 
class  UnsupportedOperationException
 Thrown when an operation is deliberately not implemented. More...
 
class  WaitException
 Thrown when a wait call fails. More...
 
class  ZipException
 Thrown when a zip resource has an error. More...
 

Functions

bool operator== (const BalauException &lhs, const BalauException &rhs)
 Base class comparison function for Balau exceptions. More...
 
template<typename AllocatorT >
Balau::U8String< AllocatorT > toString (const BalauException &e)
 Base class toString<AllocatorT> function for Balau exceptions. More...
 

Detailed Description

All exception classes.

Function Documentation

◆ operator==()

bool Balau::Exception::operator== ( const BalauException lhs,
const BalauException rhs 
)
inline

Base class comparison function for Balau exceptions.

This function does not compare file/line numbers.

This should be overloaded for exceptions that have data to compare.

◆ toString()

std::string toString ( const BalauException e)
inline

Base class toString<AllocatorT> function for Balau exceptions.

Base class toString function for Balau exceptions.

This should be overloaded for exceptions that have data to print.