class ResourceException extends RuntimeException {

    public ResourceException(int code, Object data) {
        this(code, data.toString());
    }

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

}