FileDocCategorySizeDatePackage
AppDescriptorException.javaAPI DocJ2ME MIDP 2.01465Thu Nov 07 12:02:38 GMT 2002com.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;