public ConstraintViolationException(ServerManagedObject<?> managedObject,LocalizableMessage message){
  this(managedObject,Collections.singleton(message));
}

public ConstraintViolationException ( ServerManagedObject < ? > managedObject , LocalizableMessage message ) { this ( managedObject , Collections . singleton ( message ) ) ; }
creates a new constraint violation exception with the provided message .
