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