Search:

Type: Posts; User: zharvey; Keyword(s):

Search: Search took 0.03 seconds.

  1. Replies
    4
    Views
    648

    Thanks Marten, But I already had a gander at...

    Thanks Marten,

    But I already had a gander at the chapter you reference. Those examples only show you how to intercept specific methods whose execution exits by throwing an exception.

    I'm...
  2. Replies
    4
    Views
    648

    Intercepting specific Exception subclass

    I'm trying to configure Spring so that it executes advice when a specific exception subclass (MyTestException) is thrown:



    public class MyTestExceptionInterceptor implements ThrowsAdvice
    ...
  3. Replies
    8
    Views
    1,283

    I guess the short answer is "yes". Thanks for all...

    I guess the short answer is "yes". Thanks for all your help Marten, this took a couple of days to peg down but think I have resolved it. Again, thank you.
  4. Replies
    8
    Views
    1,283

    Yes it is a public class and it has a no-arg...

    Yes it is a public class and it has a no-arg constructor. Per your request, here is the entire stack trace, although I do apologize for its size.



    [2011-10-03 13:57:50,268] INFO ...
  5. Replies
    8
    Views
    1,283

    I just used your example and am getting a nasty...

    I just used your example and am getting a nasty error/stack trace:

    Error creating bean with name 'LoginHelper' defined in class path resource [spring/client-config.xml]: Initialization of bean...
  6. Replies
    8
    Views
    1,283

    Thanks Marten, Will your code example work...

    Thanks Marten,

    Will your code example work with ThrowsAdvice implementations or MethodInterceptor implementations?
  7. Replies
    8
    Views
    1,283

    XML Config for Intercepting All Exceptions

    I am struggling to write/configure a ThrowsAdvice interceptor that I want to intercept all exceptions thrown throughout my project:



    public class ExceptionsInterceptor implements ThrowsAdvice...
Results 1 to 7 of 7