|
| | StringIDCollisionError (StringID::Hash hash, StringView a, StringView b) |
| | Creates a new exception, same parameter as CollisionError.
|
| |
| StringView | getFirstString () const noexcept |
| | Returns the first string that collided.
|
| |
| StringView | getSecondString () const noexcept |
| | Returns the second string that collided.
|
| |
| StringID::Hash | getHashCode () const noexcept |
| | Returns the hash code of the collided strings.
|
| |
| template<typename S , typename... Args> |
| | RuntimeError (const S &formatString, Args &&... args) |
| |
| | Exception (const char *typeName, const String &description="", const SourceLocation &sourceLocation=SourceLocation::current()) |
| |
| template<typename S , typename... Args> |
| | Exception (const char *typeName, const S &formatString, Args &&... args) |
| |
| | Exception (const Exception &other)=default |
| |
| Exception & | operator= (const Exception &other)=default |
| |
| | Exception (Exception &&other) noexcept=default |
| |
| Exception & | operator= (Exception &&other) noexcept=default |
| |
| | ~Exception () noexcept override=default |
| |
| virtual const String & | getFullDescription () const |
| | Returns a string with the full description of the exception.
|
| |
| virtual StringView | getSource () const noexcept |
| | Gets the source function that threw the exception.
|
| |
| virtual StringView | getFile () const noexcept |
| | Gets the source file name in which the exception was thrown.
|
| |
| virtual UInt32 | getLine () const noexcept |
| | Gets line number on which the exception was thrown.
|
| |
| virtual StringView | getDescription () const noexcept |
| | Gets a short description about the exception.
|
| |
| const char * | what () const noexcept override |
| | Overriden std::exception::what. Returns the same value as getFullDescription().
|
| |
The exception class thrown by the default CollisionHandler.