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