Move mappers to server module / remove HttpStatusCode anno / Create mappers for existing exceptions

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Add hasErrors() to ValidationErrorsException

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Add unit tests

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Rename Test to User (resource/test)

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Add support for error/validation errors media type

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Fix license headers

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
JavaDoc

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Split tests/Renames

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Prepare code for more versions of errors/validation errors

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Add additional tests for validation errors

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Rename all places that used "nexus"

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Rename test suite package (drop server from name)

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Minor tidy, no reason to call out that the id is a uuid.
All fields of an interface are public static and final, don't duplicate this detail.
Drop null checks since its used inconsistently.
Remove DummyTest as now there are real tests

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Split exception package into errors/validation

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
JavaDoc

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Rename hasErrors->hasValidationErrors

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Only send valuation errors in case there is at least one error

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Send 500 Server Error in case that mapper itself cannot convert

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Move jersey provider methods into SiestaJerseyModule

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>