ch.elca.el4j.tests.services.exceptionhandler
Class C

java.lang.Object
  extended by ch.elca.el4j.tests.services.exceptionhandler.C
All Implemented Interfaces:
Adder

public class C
extends Object
implements Adder

This class is used to show the reconfigure exception handling strategy.

Author:
Andreas Bur (ABU)
File-location:
C
Last check-in date:
2009-08-04 13:59:45 +0200 (Di, 04. Aug 2009) by swismer for revision 3873

Field Summary
static int s_numberOfAddCalls
          Number of calls.
 
Constructor Summary
C()
           
 
Method Summary
 int add(int a, int b)
          Adds the two numbers.
static void reset()
          Resets the counters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

s_numberOfAddCalls

public static int s_numberOfAddCalls
Number of calls.

Constructor Detail

C

public C()
Method Detail

reset

public static void reset()
Resets the counters.


add

public int add(int a,
               int b)
Adds the two numbers.

Specified by:
add in interface Adder
Parameters:
a - The first number.
b - The second number.
Returns:
Returns the sum of a and b.


Copyright © 2005-2011 ELCA. All Rights Reserved.