mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
38 lines
710 B
C#
38 lines
710 B
C#
//
|
|
// System.Reflection.TargetException.cs
|
|
//
|
|
// Author: Duncan Mak ([email protected])
|
|
//
|
|
// (C) Ximian, Inc. http://www.ximian.com
|
|
//
|
|
|
|
using System.Globalization;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace System.Reflection
|
|
{
|
|
[Serializable]
|
|
public class TargetException : ApplicationException
|
|
{
|
|
public TargetException ()
|
|
: base (Locale.GetText ("Unable to invoke an invalid target."))
|
|
{
|
|
}
|
|
|
|
public TargetException (string message)
|
|
: base (message)
|
|
{
|
|
}
|
|
|
|
public TargetException (string message, Exception innerException)
|
|
: base (message, innerException)
|
|
{
|
|
}
|
|
|
|
protected TargetException (SerializationInfo info, StreamingContext context)
|
|
: base (info, context)
|
|
{
|
|
}
|
|
}
|
|
}
|