Results 1 to 2 of 2

Thread: customizableTraceinterceptor, placeholder [$[invocationTime]] and exception

  1. #1
    Join Date
    Mar 2007
    Posts
    566

    Default customizableTraceinterceptor, placeholder [$[invocationTime]] and exception

    The CustomizableTraceInterceptor does not allow the invocationTime placeholder:

    Assert.doesNotContain(exceptionMessage, PLACEHOLDER_INVOCATION_TIME,
    "exceptionMessage cannot contain placeholder [" + PLACEHOLDER_INVOCATION_TIME + "]");

    Why? Stop watch is done in catch block too, I see no reason why this should not be allowed.

    Spring 3.2


    Thank you

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,695

    Default

    If yuo want it changed register a JIRA. The only reason I see is because the normal message is also logged which already contains the time.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •