[vlma-devel] commit: Don't ignore errors silently. (Adrien Grand )
git version control
git at videolan.org
Sun Oct 12 03:50:43 CEST 2008
vlma | branch: master | Adrien Grand <jpountz at videolan.org> | Sun Oct 12 03:42:20 2008 +0200| [779ae87fbe8ca17c57a03cdc4243ba46004c0b32] | committer: Adrien Grand
Don't ignore errors silently.
> http://git.videolan.org/gitweb.cgi/vlma.git/?a=commit;h=779ae87fbe8ca17c57a03cdc4243ba46004c0b32
---
.../web/server/ServerAdapterRemoveValidator.java | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/vlma-webapp/src/main/java/org/videolan/vlma/web/server/ServerAdapterRemoveValidator.java b/vlma-webapp/src/main/java/org/videolan/vlma/web/server/ServerAdapterRemoveValidator.java
index be262b2..c2a4b80 100644
--- a/vlma-webapp/src/main/java/org/videolan/vlma/web/server/ServerAdapterRemoveValidator.java
+++ b/vlma-webapp/src/main/java/org/videolan/vlma/web/server/ServerAdapterRemoveValidator.java
@@ -49,6 +49,7 @@ public class ServerAdapterRemoveValidator implements Validator {
try {
server = data.getServer(serversAdapterRemove.getServer());
} catch (RemoteException e) {
+ arg1.rejectValue("name", "error.remote_exception");
}
Adapter adapter = null;
for(Adapter a : server.getAdapters()) {
More information about the vlma-devel
mailing list