Package org.openrdf.sail

Examples of org.openrdf.sail.SailReadOnlyException


  @Override
  public void begin()
    throws StoreException
  {
    if (!store.isWritable()) {
      throw new SailReadOnlyException("Unable to start transaction: data file is locked or read-only");
    }

    txnStLock = store.getStatementsReadLock();

    // Prevent concurrent transactions by acquiring an exclusive txn lock
View Full Code Here


  }

  public void setNamespace(String prefix, String name)
    throws StoreException
  {
    throw new SailReadOnlyException();
  }
View Full Code Here

  }

  public void clearNamespaces()
    throws StoreException
  {
    throw new SailReadOnlyException();
  }
View Full Code Here

  }

  public void removeNamespace(String prefix)
    throws StoreException
  {
    throw new SailReadOnlyException();
  }
View Full Code Here

  }

  public void addStatement(Resource subj, URI pred, Value obj, Resource... contexts)
    throws StoreException
  {
    throw new SailReadOnlyException();
  }
View Full Code Here

  }

  public void removeStatements(Resource subj, URI pred, Value obj, Resource... context)
    throws StoreException
  {
    throw new SailReadOnlyException();
  }
View Full Code Here

        return snapshotDate;
    }

    @Override
    public void addStatement(Resource subj, URI pred, Value obj, Resource... contexts) throws SailException {
        throw new SailReadOnlyException("snapshot sails are read-only");
    }
View Full Code Here

        }
    }

    @Override
    public void removeStatements(Resource subj, URI pred, Value obj, Resource... contexts) throws SailException {
        throw new SailReadOnlyException("snapshot sails are read-only");
    }
View Full Code Here

        throw new SailReadOnlyException("snapshot sails are read-only");
    }

    @Override
    public void clear(Resource... contexts) throws SailException {
        throw new SailReadOnlyException("snapshot sails are read-only");
    }
View Full Code Here

        }
    }

    @Override
    public void setNamespace(String prefix, String name) throws SailException {
        throw new SailReadOnlyException("snapshot sails are read-only");
    }
View Full Code Here

TOP

Related Classes of org.openrdf.sail.SailReadOnlyException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.