You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AfterThrowing.java 1.1KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*******************************************************************************
  2. * Copyright (c) Jonas Bonér, Alexandre Vasseur
  3. * All rights reserved. This program and the accompanying materials
  4. * are made available under the terms of the Common Public License v1.0
  5. * which accompanies this distribution, and is available at
  6. * http://www.eclipse.org/legal/cpl-v10.html
  7. *******************************************************************************/
  8. package org.aspectj.lang.annotation;
  9. import java.lang.annotation.Target;
  10. import java.lang.annotation.ElementType;
  11. /**
  12. * After throwing advice
  13. *
  14. * @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a>
  15. */
  16. @Target(ElementType.METHOD)
  17. public @interface AfterThrowing {
  18. /**
  19. * The pointcut expression where to bind the advice
  20. */
  21. String value() default "";
  22. /**
  23. * The pointcut expression where to bind the advice, overrides "value" when specified
  24. */
  25. String pointcut() default "";
  26. /**
  27. * The name of the argument in the advice signature to bind the thrown exception to
  28. */
  29. String throwing() default "";
  30. }