Rebel Fork Framework
Urho3D::ArchiveException Class Reference

#include <Urho3D/Core/Exception.h>

Inheritance diagram for Urho3D::ArchiveException:
Urho3D::RuntimeException

Public Member Functions

 RuntimeException (ea::string_view message)
 Construct exception with static message.
 
template<class T , class ... Ts>
 RuntimeException (ea::string_view format, const T &firstArg, const Ts &... otherArgs)
 Construct exception with formatted message.
 
- Public Member Functions inherited from Urho3D::RuntimeException
 RuntimeException (ea::string_view message)
 Construct exception with static message.
 
template<class T , class ... Ts>
 RuntimeException (ea::string_view format, const T &firstArg, const Ts &... otherArgs)
 Construct exception with formatted message.
 
const ea::string & GetMessage () const
 Return message.
 
const char * what () const noexcept override
 

Detailed Description

Exception thrown on I/O error on Archive serialization/deserialization. Try to catch this exception outside of serialization code and don't leak it to user code. Archive is generally not safe to use if ArchiveException has been thrown.


The documentation for this class was generated from the following file: