ch.elca.el4j.tests.remoting.service.soap.impl
Class ExceptionThrowerImpl

java.lang.Object
  extended by ch.elca.el4j.tests.remoting.service.soap.impl.ExceptionThrowerImpl
All Implemented Interfaces:
ExceptionThrower

public class ExceptionThrowerImpl
extends Object
implements ExceptionThrower

Implementation of the Jax-Rpc 1.1 wsdl fault specification conform service.

Author:
Martin Zeltner (MZE)
File-location:
ExceptionThrowerImpl
Last check-in date:
2009-08-04 14:35:53 +0200 (Di, 04. Aug 2009) by swismer for revision 3875

Field Summary
static double EXCEPTION_C1_MYDOUBLE
          Double value used in first calculator value object.
static String EXCEPTION_C2_MYSTRING
          String used in second calculator value object.
static Calendar EXCEPTION_CALENDAR
          Any calendar object used in exception.
static byte[] EXCEPTION_DATA
          Any byte data used in exception.
static int EXCEPTION_INDEX
          Any index used in exception.
static String EXCEPTION_MESSAGE
          Any message used in exception.
 
Constructor Summary
ExceptionThrowerImpl()
           
 
Method Summary
 void throwExceptionWithData()
          This method throws an exception which contains data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXCEPTION_INDEX

public static final int EXCEPTION_INDEX
Any index used in exception.

See Also:
Constant Field Values

EXCEPTION_MESSAGE

public static final String EXCEPTION_MESSAGE
Any message used in exception.

See Also:
Constant Field Values

EXCEPTION_DATA

public static final byte[] EXCEPTION_DATA
Any byte data used in exception.


EXCEPTION_CALENDAR

public static final Calendar EXCEPTION_CALENDAR
Any calendar object used in exception.


EXCEPTION_C1_MYDOUBLE

public static final double EXCEPTION_C1_MYDOUBLE
Double value used in first calculator value object.

See Also:
Constant Field Values

EXCEPTION_C2_MYSTRING

public static final String EXCEPTION_C2_MYSTRING
String used in second calculator value object.

See Also:
Constant Field Values
Constructor Detail

ExceptionThrowerImpl

public ExceptionThrowerImpl()
Method Detail

throwExceptionWithData

public void throwExceptionWithData()
                            throws RemoteExceptionWithData
This method throws an exception which contains data. This data must be available on client side too.

Specified by:
throwExceptionWithData in interface ExceptionThrower
Throws:
RemoteExceptionWithData - Is the thrown exception.


Copyright © 2005-2011 ELCA. All Rights Reserved.