FINERACT-2081: throw an UnsupportedOperationException for uncomplete implementation.
This commit is contained in:
committed by
Adam Saghy
parent
9a9a8ede93
commit
84b25e0f1b
+4
-4
@@ -39,21 +39,21 @@ public class AcmeNoteWritePlatformService implements NoteWritePlatformService, I
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public CommandProcessingResult createNote(JsonCommand command) {
|
public CommandProcessingResult createNote(JsonCommand command) {
|
||||||
return null;
|
throw new UnsupportedOperationException("createNote() is not yet implemented.");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public CommandProcessingResult updateNote(JsonCommand command) {
|
public CommandProcessingResult updateNote(JsonCommand command) {
|
||||||
return null;
|
throw new UnsupportedOperationException("updateNote() is not yet implemented.");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public CommandProcessingResult deleteNote(JsonCommand command) {
|
public CommandProcessingResult deleteNote(JsonCommand command) {
|
||||||
return null;
|
throw new UnsupportedOperationException("deleteNote() is not yet implemented.");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void createAndPersistClientNote(Client client, JsonCommand command) {
|
public void createAndPersistClientNote(Client client, JsonCommand command) {
|
||||||
|
log.warn("createAndPersistClientNote() is intentionally left empty and does nothing.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user