Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-575

Definition/DeploymentExceptions thrown by an AnnotationModel are wrapped by a ComputationException

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Obsolete
    • Icon: Major Major
    • 1.1.2.Final
    • 1.0.1.Final
    • Reflection layer
    • None

      If an exception is thrown while evaluating a Function, the exception is wrapped by a ComputationException. As a result, the exceptions thrown by the AnnotationModel subclasses (Stereotype, InterceptionBinding) - which indicate a definition error detected while parsing the annotation are thrown as ComputationExceptions by the framework.

      An illustration for this can be found in MetaAnnotationStore.getInterceptionBindingModel, although this needs to be done in a more general fashion.

              pmuiratbleepbleep Pete Muir (Inactive)
              marius.bogoevici Marius Bogoevici (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: