Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

DeclareSoft.java 983B

12345678910111213141516171819202122232425262728293031323334
  1. /* *******************************************************************
  2. * Copyright (c) 2005 Contributors.
  3. * All rights reserved.
  4. * This program and the accompanying materials are made available
  5. * under the terms of the Eclipse Public License v1.0
  6. * which accompanies this distribution and is available at
  7. * http://eclipse.org/legal/epl-v10.html
  8. *
  9. * Contributors:
  10. * Adrian Colyer Initial implementation
  11. * ******************************************************************/
  12. package org.aspectj.lang.reflect;
  13. /**
  14. * AspectJ runtime representation of a declare soft member within an aspect.
  15. */
  16. public interface DeclareSoft {
  17. /**
  18. * The aspect that declared this member
  19. */
  20. AjType getDeclaringType();
  21. /**
  22. * The softened exception type
  23. */
  24. AjType getSoftenedExceptionType() throws ClassNotFoundException;
  25. /**
  26. * The pointcut determining the join points at which the exception is to be softened.
  27. */
  28. PointcutExpression getPointcutExpression();
  29. }