fix(exception_handler): fix error messages of wrapped exceptions

Closes #4117
This commit is contained in:
vsavkin
2015-09-10 15:25:36 -07:00
committed by Victor Savkin
parent 892d2b9652
commit f6cc573687
137 changed files with 339 additions and 349 deletions

View File

@ -1,7 +1,8 @@
import {LocationStrategy} from './location_strategy';
import {StringWrapper, isPresent, CONST_EXPR} from 'angular2/src/core/facade/lang';
import {EventEmitter, ObservableWrapper} from 'angular2/src/core/facade/async';
import {BaseException, isBlank} from 'angular2/src/core/facade/lang';
import {isBlank} from 'angular2/src/core/facade/lang';
import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions';
import {OpaqueToken, Injectable, Optional, Inject} from 'angular2/src/core/di';
export const APP_BASE_HREF: OpaqueToken = CONST_EXPR(new OpaqueToken('appBaseHref'));

View File

@ -1,4 +1,4 @@
import {BaseException} from 'angular2/src/core/facade/lang';
import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions';
function _abstract() {
return new BaseException('This method is abstract');

View File

@ -4,9 +4,10 @@ import {
RegExpMatcherWrapper,
StringWrapper,
isPresent,
isBlank,
BaseException
isBlank
} from 'angular2/src/core/facade/lang';
import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions';
import {
Map,
MapWrapper,

View File

@ -1,6 +1,8 @@
import {AsyncRoute, AuxRoute, Route, Redirect, RouteDefinition} from './route_config_decorator';
import {ComponentDefinition} from './route_definition';
import {Type, BaseException} from 'angular2/src/core/facade/lang';
import {Type} from 'angular2/src/core/facade/lang';
import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions';
/**
* Given a JS Object that represents... returns a corresponding Route, AsyncRoute, or Redirect

View File

@ -6,9 +6,9 @@ import {
isPresent,
isType,
isStringMap,
BaseException,
Type
} from 'angular2/src/core/facade/lang';
import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions';
import {
Map,
MapWrapper,

View File

@ -17,10 +17,10 @@ import {
isStringMap,
isFunction,
StringWrapper,
BaseException,
Type,
getTypeNameForDebugging
} from 'angular2/src/core/facade/lang';
import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions';
import {
RouteConfig,
AsyncRoute,

View File

@ -11,10 +11,9 @@ import {
StringWrapper,
isPresent,
Type,
isArray,
BaseException
isArray
} from 'angular2/src/core/facade/lang';
import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions';
import {RouteRegistry} from './route_registry';
import {Pipeline} from './pipeline';
import {ComponentInstruction, Instruction, stringifyInstruction} from './instruction';

View File

@ -1,6 +1,7 @@
import {Promise, PromiseWrapper} from 'angular2/src/core/facade/async';
import {StringMapWrapper} from 'angular2/src/core/facade/collection';
import {isBlank, isPresent, BaseException} from 'angular2/src/core/facade/lang';
import {isBlank, isPresent} from 'angular2/src/core/facade/lang';
import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions';
import {Directive, Attribute} from 'angular2/src/core/metadata';
import {DynamicComponentLoader, ComponentRef, ElementRef} from 'angular2/src/core/compiler';

View File

@ -1,11 +1,6 @@
import {StringMap, StringMapWrapper} from 'angular2/src/core/facade/collection';
import {
isPresent,
isBlank,
BaseException,
RegExpWrapper,
CONST_EXPR
} from 'angular2/src/core/facade/lang';
import {isPresent, isBlank, RegExpWrapper, CONST_EXPR} from 'angular2/src/core/facade/lang';
import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions';
/**
* This class represents a parsed URL