mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-25 17:14:28 +00:00
Don't throw a ParameterException for a regular exception.
This commit is contained in:
@ -178,7 +178,7 @@ public class BindingHelper implements Binding {
|
|||||||
} else if (e.getCause() instanceof CommandException) {
|
} else if (e.getCause() instanceof CommandException) {
|
||||||
throw (CommandException) e.getCause();
|
throw (CommandException) e.getCause();
|
||||||
}
|
}
|
||||||
throw new ParameterException(e.getCause());
|
throw new RuntimeException(e.getCause());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user