public IsAssignableFrom ( |
||
c | ||
return | bool |
internal ExceptionEventRequest(VirtualMachine vm, TypeMirror exc_type, bool caught, bool uncaught) : base(vm, EventType.Exception) { if (exc_type != null) { CheckMirror(vm, exc_type); TypeMirror exception_type = vm.RootDomain.Corlib.GetType("System.Exception", false, false); if (!exception_type.IsAssignableFrom(exc_type)) { throw new ArgumentException("The exception type does not inherit from System.Exception", "exc_type"); } } this.exc_type = exc_type; this.caught = caught; this.uncaught = uncaught; }