org.codehaus.aspectwerkz.pointcut
Class ThrowsPointcutKey

java.lang.Object
  extended byorg.codehaus.aspectwerkz.pointcut.ThrowsPointcutKey

public class ThrowsPointcutKey
extends java.lang.Object

Key class for the throws pointcut holds the method name A the exception name.

Author:
Jonas Bonér

Constructor Summary
ThrowsPointcutKey(java.lang.String methodName, java.lang.String exceptionName)
          Sets the method name A the exception name.
 
Method Summary
 boolean equals(java.lang.Object o)
          Overrides equals.
 java.lang.String getExceptionName()
          Returns the excpetion name.
 java.lang.String getMethodName()
          Returns the method name.
 int hashCode()
          Overrides hashCode.
 java.lang.String toString()
          Overrides toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ThrowsPointcutKey

public ThrowsPointcutKey(java.lang.String methodName,
                         java.lang.String exceptionName)
Sets the method name A the exception name.

Parameters:
methodName -
exceptionName -
Method Detail

getMethodName

public java.lang.String getMethodName()
Returns the method name.

Returns:
the method name

getExceptionName

public java.lang.String getExceptionName()
Returns the excpetion name.

Returns:
the exception name

toString

public java.lang.String toString()
Overrides toString

Returns:

equals

public boolean equals(java.lang.Object o)
Overrides equals.

Parameters:
o -
Returns:

hashCode

public int hashCode()
Overrides hashCode.

Returns:


Copyright (c) 2002-2004 The AspectWerkz Team. All Rights Reserved.