]> git.mxchange.org Git - jproduct-core.git/commit
Continued:
authorRoland Häder <roland@mxchange.org>
Sun, 15 Oct 2017 20:01:01 +0000 (22:01 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 16 Oct 2017 21:14:45 +0000 (23:14 +0200)
commit0602437152c584aea05c2adea3b72783c6916a95
treec5b6247b06cec90f5a40611d26e15ce336d0cdd2
parent67e280617a5bcc782cb8b9d6c2f697ce9d15b693
Continued:
- normalized exceptions, like when an entity has already been added (with same
  title here) or when it was not found. Already added exceptions always indicate
  problems with calling methods by "not-found" exceptions may be triggered by
  invalid "show" links or such kinds (when a non-existing id number for example
  was provided by parameter).
- added constructor with id number (common way)

Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/jproduct/exceptions/CannotAddCategoryException.java [deleted file]
src/org/mxchange/jproduct/exceptions/CannotAddProductException.java [deleted file]
src/org/mxchange/jproduct/exceptions/CategoryTitleAlreadyUsedException.java [deleted file]
src/org/mxchange/jproduct/exceptions/ProductTitleAlreadyUsedException.java [deleted file]
src/org/mxchange/jproduct/exceptions/category/CategoryAlreadyAddedException.java [new file with mode: 0644]
src/org/mxchange/jproduct/exceptions/category/CategoryNotFoundException.java [new file with mode: 0644]
src/org/mxchange/jproduct/exceptions/product/ProductAlreadyAddedException.java [new file with mode: 0644]
src/org/mxchange/jproduct/exceptions/product/ProductNotFoundException.java [new file with mode: 0644]