Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-746

Add Info to MethodExceptionEventHandler.methodException parameter

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.2
    • Fix Version/s: 2.0
    • Component/s: Engine
    • Labels:
      None

      Description

      I can't get information where exception is occurs from method exception handler.
      The exception handler method contains nothing about line of error.

      MethodExceptionEventHandler.methodException(Class class1, String s, Exception exception)
      

      Compare with InvalidReferenceEventHandler

      InvalidReferenceEventHandler.invalidGetMethod(Context context, String s, Object obj, String s1, Info info);
      InvalidReferenceEventHandler.invalidSetMethod(Context context, String s, String s1, Info info);
      InvalidReferenceEventHandler.invalidMethod(Context context, String s, Object obj, String s1, Info info);
      

        Activity

        Hide
        claude Claude Brisson added a comment -

        The MethodExceptionEventHandler.methodException() now receives an additional Info argument, giving template name and line/column informations.

        Show
        claude Claude Brisson added a comment - The MethodExceptionEventHandler.methodException() now receives an additional Info argument, giving template name and line/column informations.

          People

          • Assignee:
            claude Claude Brisson
            Reporter:
            siri Siri C.
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development