soa.sca.samples.candystore
Class NotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by soa.sca.samples.candystore.NotFoundException
All Implemented Interfaces:
java.io.Serializable

@WebFault(name="notFoundFault",
          targetNamespace="http://candystore.samples.sca.soa/")
public class NotFoundException
extends java.lang.Exception

See Also:
Serialized Form

Constructor Summary
NotFoundException(java.lang.String message, int fault)
           
NotFoundException(java.lang.String message, int fault, java.lang.Throwable cause)
           
NotFoundException(java.lang.String message, java.lang.Throwable cause)
           
 
Method Summary
 int getFaultInfo()
           
 
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

NotFoundException

public NotFoundException(java.lang.String message,
                         java.lang.Throwable cause)
Parameters:
message - the detail message
cause - the cause. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

NotFoundException

public NotFoundException(java.lang.String message,
                         int fault)
Parameters:
message - the detail message
fault - A non-zero return code

NotFoundException

public NotFoundException(java.lang.String message,
                         int fault,
                         java.lang.Throwable cause)
Parameters:
message - the detail message
fault - A non-zero return code
cause - the cause. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
Method Detail

getFaultInfo

public int getFaultInfo()
Returns:
The fault value. The type here must be one for which Java/XML conversion is supported, (like 'int'). In other words, at present, this type should be a primitive type or an SDO, but not a non-SDO POJO type nor an array/collection type like int[].