Files
FlaxEngine/Source/Engine/Debug/Exceptions/FileNotFoundException.h
Wojtek Figat 7bec45dacf Typo fixes
2023-03-31 18:29:44 +02:00

34 lines
824 B
C++

// Copyright (c) 2012-2023 Wojciech Figat. All rights reserved.
#pragma once
#include "Engine/Debug/Exception.h"
namespace Log
{
/// <summary>
/// The exception that is thrown when a file does not exist.
/// </summary>
class FileNotFoundException : public Exception
{
public:
/// <summary>
/// Init
/// </summary>
FileNotFoundException()
: FileNotFoundException(String::Empty)
{
}
/// <summary>
/// Creates default exception with additional data
/// </summary>
/// <param name="additionalInfo">Additional information that help describe error</param>
FileNotFoundException(const String& additionalInfo)
: Exception(TEXT("File not found"), additionalInfo)
{
}
};
}