public ValidationException makeException() { ValidationException ve = new ValidationException(message); ve.setConstraintReference(schemaPart, constraintName, clause); ve.setErrorCode(errorCode == null ? "FORG0001" : errorCode); return ve; }
public ValidationException makeException() { ValidationException ve = new ValidationException(message); ve.setConstraintReference(schemaPart, constraintName, clause); ve.setErrorCode(errorCode == null ? "FORG0001" : errorCode); return ve; }
ValidationException ve = new ValidationException("The specified xsi:type " + xsiType.getDescription() + " is not validly derived from the required type " + schemaType.getDescription()); ve.setConstraintReference(1, "cvc-elt", "4.3"); ve.setErrorCode(instr.isXSLT() ? "XTTE1515" : "XQDY0027"); ve.setLocator((Locator)instr);