
// Copyright (c) 2000 Oracle Corporation
package oracle.portal.provider.v2.http.resource;

import java.util.*;

/**
 * A Class class.
 * <P>
 * @author Michael Freedman
 */
public class HttpProviderExceptionBundle extends ListResourceBundle {

    public Object[][] getContents() {
        return contents;
    }

    static final String CLASS_UNSPECIFIED = "ClassUnspecified";
    static final String CLASS_NOT_FOUND = "ClassNotFound";
    static final String PROVIDER_CREATE_ERROR = "ProviderCreateError";
    static final String PROVIDER_INIT_ERROR = "ProviderInitError";
    static final String PROVIDER_INIT_CUSTOMPARAM_ERROR = "ProviderInitCustomParamError";

    static final Object[][] contents = {
        // LOCALIZE THIS
        {CLASS_UNSPECIFIED, "No Provider class defined via this servlet's initArgs."}, // from httpprovider
        {CLASS_NOT_FOUND, "Unable to load Provider class: "}, // from httpprovider
        {PROVIDER_CREATE_ERROR, "Unable to create new provider instance: "}, // from httpprovider
        {PROVIDER_INIT_ERROR, "Unable to initialize new provider instance: "}, // from httpprovider
        {PROVIDER_INIT_CUSTOMPARAM_ERROR, "Unable to initialize customParamType."} // from defaultprovider

        // add more from defaultprovider

        // END OF MATERIAL TO LOCALIZE
    };
}

