1 /*************************************************************************************** 2 * Copyright (c) Jonas Bonér, Alexandre Vasseur. All rights reserved. * 3 * http://aspectwerkz.codehaus.org * 4 * ---------------------------------------------------------------------------------- * 5 * The software in this package is published under the terms of the LGPL license * 6 * a copy of which has been included with this distribution in the license.txt file. * 7 **************************************************************************************/ 8 package org.codehaus.aspectwerkz.joinpoint; 9 10 /*** 11 * Interface for the catch clause RTTI (Runtime Type Information). 12 * 13 * @TODO rename to HandlerRtti 14 * 15 * @author <a href="mailto:jboner@codehaus.org">Jonas Bonér </a> 16 */ 17 public interface CatchClauseRtti extends Rtti { 18 /*** 19 * Returns the parameter type. 20 * 21 * @return the parameter type 22 */ 23 Class getParameterType(); 24 25 /*** 26 * Returns the value of the parameter. 27 * 28 * @return the value of the parameter 29 */ 30 Object getParameterValue(); 31 32 /*** 33 * @TODO remove in 2.0 34 * 35 * Sets the value of the parameter. 36 * 37 * @param parameterValue the value of the parameter 38 */ 39 void setParameterValue(Object parameterValue); 40 }