FileDocCategorySizeDatePackage
ResourceException.javaAPI DocphoneME MR2 API (J2ME)2251Fri May 04 08:29:14 BST 2007javax.microedition.global

ResourceException

public final class ResourceException extends RuntimeException

Fields Summary
public static final int
DATA_ERROR
public static final int
METAFILE_NOT_FOUND
public static final int
NO_RESOURCES_FOR_BASE_NAME
public static final int
NO_SYSTEM_DEFAULT_LOCALE
public static final int
RESOURCE_NOT_FOUND
public static final int
UNKNOWN_ERROR
public static final int
UNKNOWN_RESOURCE_TYPE
public static final int
WRONG_RESOURCE_TYPE
private int
err
Error code.
Constructors Summary
public ResourceException(int err, String message)


    // JAVADOC COMMENT ELIDED 
         
        super(message);
        if ((err < 0) || (err > 7)) {
            throw new IllegalArgumentException();
        }
        this.err = err;
    
Methods Summary
public intgetErrorCode()

        return err;