A specific exception that should be used when a specific schema is missing that the user is requesting.
8990919293949596979899
Registry.getInstance().getSchema(schemaId, schemaVersion); // Make sure the schema exists. if(schema == null) { throw new NoSuchSchemaException( "The schema with id '" + schemaId + "' and version '" + schemaVersion + "' does not exist.");
142143144145146147148149150151152
Registry .getInstance() .getSchemas(schemaId, version, 0, 1).count() == 0) { throw new NoSuchSchemaException( "The schema ID, '" + schemaId + "', and version, '" + version + "', pair is unknown.");