using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System.Reflection
{
/// The exception that is thrown by methods invoked through reflection. This class cannot be inherited.
// Token: 0x0200026E RID: 622
[ComVisible(true)]
[Serializable]
public sealed class TargetInvocationException : Exception
{
/// Initializes a new instance of the class with a reference to the inner exception that is the cause of this exception.
/// The exception that is the cause of the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception.
// Token: 0x06001FF0 RID: 8176 RVA: 0x00074A0C File Offset: 0x00072C0C
public TargetInvocationException(Exception inner)
: base("Exception has been thrown by the target of an invocation.", inner)
{
}
/// Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
/// The error message that explains the reason for the exception.
/// The exception that is the cause of the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception.
// Token: 0x06001FF1 RID: 8177 RVA: 0x00074A1C File Offset: 0x00072C1C
public TargetInvocationException(string message, Exception inner)
: base(message, inner)
{
}
// Token: 0x06001FF2 RID: 8178 RVA: 0x00074A28 File Offset: 0x00072C28
internal TargetInvocationException(SerializationInfo info, StreamingContext sc)
: base(info, sc)
{
}
}
}