Fix catch of SubCommand
Dieser Commit ist enthalten in:
Ursprung
377befea47
Commit
10cb766be9
@ -77,7 +77,7 @@ class SubCommand {
|
|||||||
method.invoke(swCommand, objects);
|
method.invoke(swCommand, objects);
|
||||||
} catch (IllegalArgumentException | IllegalAccessException e) {
|
} catch (IllegalArgumentException | IllegalAccessException e) {
|
||||||
throw new SecurityException(e.getMessage(), e);
|
throw new SecurityException(e.getMessage(), e);
|
||||||
} catch (InvocationTargetException | SecurityException e) {
|
} catch (InvocationTargetException | RuntimeException e) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren