Set more feasible exception type
This commit is contained in:
@@ -9,8 +9,8 @@ public final class Main {
|
||||
/**
|
||||
* Prevents unwanted instantiation.
|
||||
*/
|
||||
private Main() {
|
||||
throw new UnsupportedOperationException("Don't instantiate me! >:(");
|
||||
private Main() throws IllegalAccessException {
|
||||
throw new IllegalAccessException("Don't instantiate me! >:(");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user