mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 08:34:55 +00:00
0150d09a37
- Fix ConvertToCef while method returns void. - Add exception handling while converting arguments from cef. - Add some tests, but it is not complete!
28 lines
686 B
C++
28 lines
686 B
C++
#include "stdafx.h"
|
|
#pragma once
|
|
|
|
using namespace System;
|
|
using namespace System::Runtime::Serialization;
|
|
|
|
namespace CefSharp
|
|
{
|
|
public ref class ScriptException : public Exception
|
|
{
|
|
public: ScriptException()
|
|
: Exception()
|
|
{}
|
|
|
|
public: ScriptException(String^ message)
|
|
: Exception(message)
|
|
{}
|
|
|
|
public: ScriptException(String^ message, Exception^ innerException)
|
|
: Exception(message, innerException)
|
|
{}
|
|
|
|
public: ScriptException(SerializationInfo^ info, StreamingContext context)
|
|
: Exception(info, context)
|
|
{}
|
|
};
|
|
|
|
} |