Skip to content
Success

Changes

Summary

  1. Implement CommandExceptionHandler and corresponding Exceptions. (details)
  2. Extends ExceptionHandlingSystem and integrate into CommandRouter. (details)
  3. Continue reworking command handling. (details)
  4. Remove permission check in AbstractCommandRouter#matchCommandMap. (details)
  5. Fix NPE. (details)
  6. Add isVisible option to SubCommand. (details)
  7. Rename Method. (details)
  8. Change default message for InternalCommandException. (details)
Commit 43944e2b1ad5aa54eb7467615950d661b7ad24e0 by jonas.becker
Implement CommandExceptionHandler and corresponding Exceptions.
The file was addedsrc/main/java/de/iani/cubesideutils/commands/exceptions/InternalCommandException.java
The file was addedsrc/main/java/de/iani/cubesideutils/commands/exceptions/CommandRouterException.java
The file was addedsrc/main/java/de/iani/cubesideutils/commands/exceptions/IllegalSyntaxException.java
The file was addedsrc/main/java/de/iani/cubesideutils/commands/exceptions/NoPermissionException.java
The file was addedsrc/main/java/de/iani/cubesideutils/commands/exceptions/SubCommandException.java
The file was addedsrc/main/java/de/iani/cubesideutils/commands/CommandExceptionHandler.java
Commit 2254d70563d29666e163a300cf2794276a749dcd by jonas.becker
Extends ExceptionHandlingSystem and integrate into CommandRouter.
The file was modified src/main/java/de/iani/cubesideutils/commands/HybridCommand.java
The file was addedsrc/main/java/de/iani/cubesideutils/commands/exceptions/NoPermissionForPathException.java
The file was modified src/main/java/de/iani/cubesideutils/commands/CommandExceptionHandler.java
The file was modified src/main/java/de/iani/cubesideutils/commands/CommandRouter.java
The file was addedsrc/main/java/de/iani/cubesideutils/commands/exceptions/DisallowsCommandBlockException.java
The file was addedsrc/main/java/de/iani/cubesideutils/commands/exceptions/RequiresPlayerException.java
The file was modified src/main/java/de/iani/cubesideutils/commands/SubCommand.java
The file was modified src/main/java/de/iani/cubesideutils/commands/exceptions/InternalCommandException.java
Commit bd4accc977b1c9bc97930978a308cdbdb8918f36 by jonas.becker
Continue reworking command handling.
The file was modified src/main/java/de/iani/cubesideutils/commands/CommandRouter.java
The file was modified src/main/java/de/iani/cubesideutils/commands/HybridCommand.java
The file was modified src/main/java/de/iani/cubesideutils/commands/SubCommand.java
Commit ba792c74d9abd4c07a3fd49df4700a68121f18f5 by jonas.becker
Remove permission check in AbstractCommandRouter#matchCommandMap.
The file was modified src/main/java/de/iani/cubesideutils/commands/AbstractCommandRouter.java
Commit b58ec85aa7110912e6222ba8704f7d31571f082c by jonas.becker
Fix NPE.
The file was modified src/main/java/de/iani/cubesideutils/commands/CommandRouter.java
Commit a7a8681f61de59aa997e3d6d154c4ecc33bac2c7 by jonas.becker
Add isVisible option to SubCommand.
The file was modified src/main/java/de/iani/cubesideutils/commands/CommandRouter.java
The file was modified src/main/java/de/iani/cubesideutils/commands/AbstractCommandRouter.java
The file was modified src/main/java/de/iani/cubesideutils/commands/SubCommand.java
Commit 2cf960273c6f6c8ebee911e83810503e6e744e9d by jonas.becker
Rename Method.
The file was modified src/main/java/de/iani/cubesideutils/commands/CommandRouter.java
Commit 512b19c0a9e4d73c4e25ebbbcfd110093ac0f86d by jonas.becker
Change default message for InternalCommandException.
The file was modified src/main/java/de/iani/cubesideutils/commands/CommandExceptionHandler.java
The file was modified src/main/java/de/iani/cubesideutils/commands/exceptions/InternalCommandException.java