[vlma-devel] commit: Factorize exceptions (easier to maintain). (Adrien Grand )

git version control git at videolan.org
Tue Sep 2 20:42:14 CEST 2008


vlma | branch: master | Adrien Grand <jpountz at videolan.org> | Tue Sep  2 20:42:50 2008 +0200| [ba4125f2dc32689dceaae1db46fb23ac0a14b775] | committer: Adrien Grand 

Factorize exceptions (easier to maintain).

> http://git.videolan.org/gitweb.cgi/vlma.git/?a=commit;h=ba4125f2dc32689dceaae1db46fb23ac0a14b775
---

 vlma-api/src/main/java/org/videolan/vlma/Data.java |   35 +++++++--------
 ...sException.java => AlreadyExistsException.java} |   15 ++----
 .../vlma/exception/InvalidServerNameException.java |   20 ++++++++
 .../exception/MediaAlreadyExistsException.java     |   48 --------------------
 .../vlma/exception/MediaDoesNotExistException.java |   48 --------------------
 .../exception/NoAvailableOrderSenderException.java |   20 ++++++++
 ...tExistException.java => NotFoundException.java} |   15 ++----
 .../exception/SatelliteAlreadyExistsException.java |   48 --------------------
 .../exception/SatelliteDoesNotExistException.java  |   48 --------------------
 .../exception/ServerAlreadyExistsException.java    |   48 --------------------
 .../exception/ServerDoesNotExistException.java     |   48 --------------------
 .../java/org/videolan/vlma/dao/VLMaDaoImpl.java    |   22 ++++-----
 vlma-daemon/src/main/resources/config.properties   |    2 +-
 .../web/server/ServerAdapterAddController.java     |    4 +-
 14 files changed, 79 insertions(+), 342 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlma.git/?a=commitdiff;h=ba4125f2dc32689dceaae1db46fb23ac0a14b775


More information about the vlma-devel mailing list