anchor.diff:      } else if (constant.isType) {
         // TODO(srawlins): It seems like this might be revivable, but Angular
         // does not revive Types; we should investigate this if users request it.
  -      throw _ReviveError('default value is a Type: ${object.toTypeValue()}.');
  +      throw _ReviveException(
  +          'default value is a Type: ${object.toTypeValue()}.');
       } else {
         // If [constant] is not null, a literal, or a type, then it must be an
         // object constructed with `const`. Revive it.
  
positive.code:         try {
            pBuilder.defaultTo =
                _expressionFromDartObject(parameter.computeConstantValue()).code;
          } on _ReviveError catch (e) {
            final method = parameter.enclosingElement;
            final clazz = method.enclosingElement;
            throw InvalidMockitoAnnotationException(
  
negative.code:         final privateReference = revivable.accessor?.isNotEmpty == true
              ? '${revivable.source}::${revivable.accessor}'
              : '${revivable.source}';
          throw _ReviveException(
              'default value has a private type: $privateReference.');
        }
        if (revivable.source.fragment.isEmpty) {
  