Community
Participate
Working Groups
If an exception is thrown by a SchemaResolver when processing an import or include we return null (Schema) in the SDOTypesGenerator.getSchema method. A little further along a NullPointerException will be thrown due to that null Schema. If an exception occurs in the SchemaResolver we should let the processing fail or catch it and throw a useful SDOException. If a user wishes for us to skip an import/include and continue with processing then their SchemaResolver needs to return null and not throw an exception. We should also update the javadoc on SchemaResolver to clearly explain this.
Created attachment 197501 [details] Proposed changes and updated test
Checked in fix as described so that we don't swallow any exceptions that were thrown from the schemaresolver.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink