com.ibm.manplato.Protocol
Class DLPFunctionCallException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.ibm.manplato.Protocol.DLPFunctionCallException
- All Implemented Interfaces:
- java.io.Serializable
- public class DLPFunctionCallException
- extends java.lang.Exception
The DLPFunctionCallException class.
This exception is thrown by methods in the MSyncProtocol class
whenever a DLP error is reported by the Palm.
- Version:
- $Rev$-$Date: 2001/03/15 16:55:32 $$State: Exp $
- Author:
- File Created By: Brad BARCLAY <bbarclay@ca.ibm.com>, Last Modified By: $Author: Yaztromo $
- See Also:
- Serialized Form
Field Summary |
static int |
NO_DLP_ERROR
This error value is returned when no DLP Error code is available. |
Constructor Summary |
DLPFunctionCallException(int errorCode)
Constructs a new DLPFunctionCallException object with the given DLP
error code. |
DLPFunctionCallException(java.lang.String s,
int errorCode)
Constructs a new DLPFunctionCallException object with the given DLP
error code and text message. |
Method Summary |
int |
getErrorCode()
Returns the error code associated with this DLPFunctionCallException. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NO_DLP_ERROR
public static final int NO_DLP_ERROR
- This error value is returned when no DLP Error code is available.
This can occur when the MSyncProtocol class runs into an internal error in
one of its methods. See the error text for details.
DLPFunctionCallException
public DLPFunctionCallException(int errorCode)
- Constructs a new DLPFunctionCallException object with the given DLP
error code.
See the DLP_Packet class for a list of error codes.
- Parameters:
errorCode
- the DLP error code this exception represents.- See Also:
DLP_Packet
DLPFunctionCallException
public DLPFunctionCallException(java.lang.String s,
int errorCode)
- Constructs a new DLPFunctionCallException object with the given DLP
error code and text message.
- Parameters:
s
- a String containing a description of the exception caught.
See the DLP_Packet class for a list of error codes.errorCode
- the DLP error code this exception represents.- See Also:
DLP_Packet
getErrorCode
public int getErrorCode()
- Returns the error code associated with this DLPFunctionCallException.
- Returns:
- the error code associated with this DLPFunctionCallException.
- See Also: