SPIN: make handleConstraintViolation protected

Description

Currently the handleConstraintViolation() is a private method (sail/spin/SpinSailConnection.java)

As I'm developping a simple validator using SPIN, at it would be helpful if this would be a protected (or even public) method, so I could do a bulk import of a data file and override the method to produce a full report on all validation errors and/or perform additional actions.

(AFAIK an Exception is thrown on the first constraint violation with level "error" - which also includes, for instance, SPL min/maxcount rule)

Environment

None

Assignee

Jeen Broekstra

Reporter

Bart Hanssens

Labels

None

Components

Affects versions

Priority

Minor
Configure