Package com.avsystem.anjay
Class AnjayFirmwareUpdateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.avsystem.anjay.AnjayFirmwareUpdateException
-
- All Implemented Interfaces:
java.io.Serializable
public class AnjayFirmwareUpdateException extends java.lang.RuntimeExceptionException which may be thrown from some methods from AnjayFirmwareUpdateHandlers.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intINTEGRITY_FAILUREstatic intNOT_ENOUGH_SPACEstatic intOUT_OF_MEMORYstatic intUNSUPPORTED_PACKAGE_TYPE
-
Constructor Summary
Constructors Constructor Description AnjayFirmwareUpdateException(int errorCode, java.lang.String message)Construct newAnjayFirmwareUpdateException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description interrorCode()Retrieves the error code corresponding to a return value of a C function.
-
-
-
Constructor Detail
-
AnjayFirmwareUpdateException
public AnjayFirmwareUpdateException(int errorCode, java.lang.String message)Construct newAnjayFirmwareUpdateException.- Parameters:
errorCode- Error code that comes from or into native code, corresponding to a return value from a C function.message- The detail message. It is saved for later retrieval by thegetMessage()method.
-
-