// Copyright (c) 2012-2024 Wojciech Figat. All rights reserved. #pragma once #include "Engine/Debug/Exception.h" namespace Log { /// /// The exception that is thrown when a method or operation is not supported. /// class NotSupportedException : public Exception { public: /// /// Init /// NotSupportedException() : NotSupportedException(String::Empty) { } /// /// Creates default exception with additional data /// /// Additional information that help describe error NotSupportedException(const String& additionalInfo) : Exception(TEXT("Current method or operation is not supported in current context"), additionalInfo) { } }; }