class ResourceException extends RuntimeException {

    public Object getData() {
        return data;
    }

    public  ResourceException(int code);
    public  ResourceException(int code, Object data);

}