soap tutorial

adriani.jws.template.wrappers
Class WrapperFault

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by adriani.jws.template.wrappers.WrapperFault
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
WrapperFaultOut

public class WrapperFault
extends java.lang.Exception

Simple exception class representing a validation error when constructing a single ADBBean record contained by the Wrapper class. The error message describe the last invalid field in the validation sequence, hence, if more than field fails validation, the exception describe only the last one.

See Also:
Serialized Form

Constructor Summary
WrapperFault()
          Stateless constructor.
WrapperFault(java.lang.String string)
          Stateful constructor.
WrapperFault(java.lang.String string, java.lang.Throwable throwable)
          Stateful constructor, as above, but defining also a general Throwable object.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WrapperFault

public WrapperFault()
Stateless constructor.


WrapperFault

public WrapperFault(java.lang.String string)
Stateful constructor. The string message is used by the super() constructor to set the general error message for this exception, which will be returned by invoking the method exception.getMessage().

Parameters:
string - the validation message error for this exception

WrapperFault

public WrapperFault(java.lang.String string,
                    java.lang.Throwable throwable)
Stateful constructor, as above, but defining also a general Throwable object.

NOT USED AT THE MOMENT.

Parameters:
string - the validation message error for this exception
throwable - the throwable object generating the exception

Build 19/03/2014

Morpheus Technologies - making the Zion software
Copyright © 2009-2014 Morpheus Technologies. All Rights Reserved