public AbstractMemberMetaData getMetaDataForExternalMapping(JavaTypeMapping mapping, MappingType mappingType) { throw new NucleusException("N/A").setFatal(); } }
public void setNotParameter() { throw new NucleusException("Not implemented yet."); } }
private NucleusException noMetaDataException(String member, String fullClassName) { return new NucleusFatalUserException( "No meta-data for member named " + member + " on class " + fullClassName + ". Are you sure you provided the correct member name in your query?"); }
public void clear(ObjectProvider op) { throw new NucleusUserException("Cannot clear a map through its values collection"); }
public static NucleusDataStoreException wrapDatastoreFailureException( DatastoreFailureException e) { // could be a transient error so don't mark fatal return new NucleusDataStoreException("Datastore Failure", e); }
/** * Accessor for a mapping for the ID (persistable) for this table. * @return The (persistable) ID mapping. **/ public JavaTypeMapping getIdMapping() { throw new NucleusException("Attempt to get ID mapping of Sequence table!").setFatal(); }
public void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException { throw new NucleusUserException("Not supported"); }
public SQLExpression getExpression(SQLStatement stmt, SQLExpression expr, List args) { // TODO Support this type throw new NucleusException("getClass is not yet supported for " + expr); } }
static NucleusDataStoreException wrapConcurrentModificationException( ConcurrentModificationException e) { // do not mark fatal return new NucleusDataStoreException("Concurrent Modification", e); }
/** * Accessor for a mapping for the ID (persistable) for this table. * @return The (persistable) ID mapping. */ public JavaTypeMapping getIdMapping() { throw new NucleusException("Attempt to get ID mapping of SchemaTable!").setFatal(); }
public boolean removeAll(ObjectProvider op, Collection values, int size) { throw new NucleusUserException("Cannot remove values from a map through its values collection"); }
@Override public void setNotParameter() { throw new NucleusException("Not implemented yet."); } }
/** * Initialize this JavaTypeMapping with the given DatastoreAdapter for the given FieldMetaData. * @param table The datastore container storing this mapping (if any) * @param clr the ClassLoaderResolver * @param mmd FieldMetaData for the field to be mapped (if any) * @throws NucleusException if an error occurs */ public void initialize(AbstractMemberMetaData mmd, Table table, ClassLoaderResolver clr) { throw new NucleusException("subclass must override this method").setFatal(); }
@Override public void deleteSchema(Object conn, String schemaName) { throw new NucleusUserException("DataNucleus doesnt currently support deletion of schemas for Force.com"); }
public FetchFieldManager(ExecutionContext ec, PropertyContainer node, AbstractClassMetaData cmd, Table table) { super(ec, cmd); this.table = table; this.propObj = node; if (node == null) { throw new NucleusException("Attempt to create FetchFieldManager for " + op + " with null Neo4j Node!" + " Generate a testcase that reproduces this and raise an issue"); } }
/** * Accessor for a mapping for the ID (persistable) for this table. * @return The (persistable) ID mapping. **/ public JavaTypeMapping getIdMapping() { throw new NucleusException("Attempt to get ID mapping of ProbeTable!").setFatal(); }
@Override public void createSchema(Object conn, String schemaName) { throw new NucleusUserException("DataNucleus doesnt currently support creation of schemas for Force.com"); }
/** * Accessor for a mapping for the ID (persistable) for this table. * This is not supported by join tables since they don't represent FCOs. * @return The (persistable) ID mapping. */ public JavaTypeMapping getIdMapping() { throw new NucleusException("Unsupported ID mapping in join table").setFatal(); } }
@Override public void addProperty(String name, Object value) { throw new NucleusUserException("DataNucleus doesnt currently support adding properties" + " for Force.com schema data"); } };
@Override public void addProperty(String name, Object value) { throw new NucleusUserException("DataNucleus doesnt currently support adding properties" + " for Force.com schema data"); } };