FileDocCategorySizeDatePackage
AppDescriptorException.javaAPI DocphoneME MR2 API (J2ME)2312Wed May 02 18:00:26 BST 2007com.sun.midp.jadtool

AppDescriptorException

public class AppDescriptorException extends Exception
Exception for AppDescriptor errors.

Fields Summary
public static int
UNSPECIFIED_ERROR
Generic default code. (0)
public static final int
KEYSTORE_NOT_INITIALIZED
The keystore for the AppDescriptor was not initialized.
private int
myError
The error code.
Constructors Summary
public AppDescriptorException(int errorCode)
Create an ApplicationDescriptorException.

param
errorCode error code of the exception

    
                   
       
        super();
        myError = errorCode;
    
public AppDescriptorException(String msg)
Create an ApplicationDescriptorException.

param
msg message of the exception

        super(msg);
    
public AppDescriptorException(String msg, int errorCode)
Create an ApplicationDescriptorException.

param
msg message of the exception
param
errorCode error code of the exception

        super(msg);
        myError = errorCode;
    
Methods Summary
public intgetErrorCode()
Get the error code of the exception.

return
error code

        return myError;