Wrapped the return values in the global exception handler with ResponseEntity to set the status code.
Removed
Removed all custom exception classes and replaced them with Java's built-in NoSuchElementException, IllegalArgumentException, and IllegalStateException.
Deleted BindNodeDTO because it was redundant with NodeRelationDTO.
Changelog
Changed
Wrapped the return values in the
global exception handler
withResponseEntity
to set thestatus code
.Removed
Removed all
custom exception classes
and replaced them with Java's built-inNoSuchElementException
,IllegalArgumentException
, andIllegalStateException
. DeletedBindNodeDTO
because it was redundant withNodeRelationDTO
.