com.ibm.as400.access
Interface ReturnCodeException

All Known Implementing Classes:
AS400SecurityException, ConnectionDroppedException, ErrorCompletingRequestException, ExtendedIllegalArgumentException, ExtendedIllegalStateException, ExtendedIOException, IllegalObjectTypeException, IllegalPathNameException, InternalErrorException, LicenseException, ObjectAlreadyExistsException, ObjectDoesNotExistException, ProxyException, RequestNotSupportedException, ResourceException, ServerStartupException

public interface ReturnCodeException

The ReturnCodeException interface defines the methods required for exceptions that contain a return code. A return code is used to further identify the cause of an error when an exception can be thrown for several reasons. The return code values are defined in the class that implements this interface.


Method Summary
 int getReturnCode()
          Returns the return code associated with this exception.
 

Method Detail

getReturnCode

public int getReturnCode()
Returns the return code associated with this exception.

Returns:
The return code associated with this exception.