Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: runtime/vm/exceptions.cc

Issue 93873014: Update isolate documentation. Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add isolateMessageException Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/exceptions.h" 5 #include "vm/exceptions.h"
6 6
7 #include "vm/dart_api_impl.h" 7 #include "vm/dart_api_impl.h"
8 #include "vm/dart_entry.h" 8 #include "vm/dart_entry.h"
9 #include "vm/debugger.h" 9 #include "vm/debugger.h"
10 #include "vm/flags.h" 10 #include "vm/flags.h"
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 class_name = &Symbols::UnsupportedError(); 663 class_name = &Symbols::UnsupportedError();
664 break; 664 break;
665 case kInternalError: 665 case kInternalError:
666 library = Library::CoreLibrary(); 666 library = Library::CoreLibrary();
667 class_name = &Symbols::InternalError(); 667 class_name = &Symbols::InternalError();
668 break; 668 break;
669 case kNullThrown: 669 case kNullThrown:
670 library = Library::CoreLibrary(); 670 library = Library::CoreLibrary();
671 class_name = &Symbols::NullThrownError(); 671 class_name = &Symbols::NullThrownError();
672 break; 672 break;
673 case kIsolateMessage:
674 library = Library::IsolateLibrary();
675 class_name = &Symbols::IsolateMessageException();
676 break;
673 case kIsolateSpawn: 677 case kIsolateSpawn:
674 library = Library::IsolateLibrary(); 678 library = Library::IsolateLibrary();
675 class_name = &Symbols::IsolateSpawnException(); 679 class_name = &Symbols::IsolateSpawnException();
676 break; 680 break;
677 case kIsolateUnhandledException: 681 case kIsolateUnhandledException:
678 library = Library::IsolateLibrary(); 682 library = Library::IsolateLibrary();
679 class_name = &Symbols::IsolateUnhandledException(); 683 class_name = &Symbols::IsolateUnhandledException();
680 break; 684 break;
681 case kJavascriptIntegerOverflowError: 685 case kJavascriptIntegerOverflowError:
682 library = Library::CoreLibrary(); 686 library = Library::CoreLibrary();
(...skipping 30 matching lines...) Expand all
713 break; 717 break;
714 } 718 }
715 719
716 return DartLibraryCalls::InstanceCreate(library, 720 return DartLibraryCalls::InstanceCreate(library,
717 *class_name, 721 *class_name,
718 *constructor_name, 722 *constructor_name,
719 arguments); 723 arguments);
720 } 724 }
721 725
722 } // namespace dart 726 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698