// Copyright (c) 2012-2022 Wojciech Figat. All rights reserved.
#pragma once
#include "Engine/Debug/Exception.h"
namespace Log
{
///
/// The exception that is thrown when a path or file name exceeds the maximum system - defined length.
///
class PathTooLongException : public Exception
{
public:
///
/// Init
///
PathTooLongException()
: PathTooLongException(String::Empty)
{
}
///
/// Creates default exception with additional data
///
/// Additional information that help describe error
PathTooLongException(const String& additionalInfo)
: Exception(TEXT("Path too long."), additionalInfo)
{
}
};
}