mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-12-22 04:57:56 +01:00
Add comment to remind future self of adding new exception types to switch-case
This commit is contained in:
parent
4a7c2b74da
commit
bb2b4e03fb
1 changed files with 1 additions and 0 deletions
|
@ -276,6 +276,7 @@ public class ExternalSOP implements SOP {
|
|||
exitCode + "):\n" + errorMessage);
|
||||
|
||||
default:
|
||||
// Did you forget to add a case for a new exception type?
|
||||
throw new RuntimeException("External SOP backend reported unknown exit code (" +
|
||||
exitCode + "):\n" + errorMessage);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue