soa.sca.samples.candystore
Class NotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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
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 |
NotFoundException
public NotFoundException(java.lang.String message,
java.lang.Throwable cause)
- Parameters:
message
- the detail messagecause
- 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 messagefault
- A non-zero return code
NotFoundException
public NotFoundException(java.lang.String message,
int fault,
java.lang.Throwable cause)
- Parameters:
message
- the detail messagefault
- A non-zero return codecause
- the cause. (A null value is permitted,
and indicates that the cause is nonexistent or unknown.)
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[].