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

Unified Diff: samples/total/client/Exceptions.dart

Issue 10635015: Delete proxy and total samples, which have bit-rotted. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samples/total/client/DomUtils.dart ('k') | samples/total/client/Formats.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/total/client/Exceptions.dart
===================================================================
--- samples/total/client/Exceptions.dart (revision 9011)
+++ samples/total/client/Exceptions.dart (working copy)
@@ -1,57 +0,0 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-interface TotalException {
- String toString();
-}
-
-class FormulaException implements TotalException {
- final String _message;
-
- // when Dart supports optional args, message will be optional
- const FormulaException(String this._message);
-
- String toString() => _message;
-}
-
-class BadFormulaException extends FormulaException {
- const BadFormulaException() : super("#BADFORMULA!");
-}
-
-class CycleException extends FormulaException {
- const CycleException() : super("#CYCLE!");
-}
-
-class DivByZeroException extends FormulaException {
- const DivByZeroException() : super("#DIV/0!");
-}
-
-class FunctionException extends FormulaException {
- const FunctionException() : super("#FUNC!");
-}
-
-class NumArgsException extends FormulaException {
- const NumArgsException() : super("#NARGS!");
-}
-
-class NumberException extends FormulaException {
- const NumberException() : super("#NUM!");
-}
-
-class RefException extends FormulaException {
- const RefException() : super("#REF!");
-}
-
-class ValueException extends FormulaException {
- const ValueException() : super("#VALUE!");
-}
-
-class RuntimeException implements TotalException {
- final String _message;
-
- // when Dart supports optional args, message will be optional
- const RuntimeException(String this._message);
-
- String toString() => _message;
-}
« no previous file with comments | « samples/total/client/DomUtils.dart ('k') | samples/total/client/Formats.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698