Allow instantiation of EndOfInput outside of com.riiablo.io

This commit is contained in:
Collin Smith
2021-09-16 12:27:07 -07:00
parent 474ea5b44b
commit 7525e288ea

View File

@ -3,11 +3,11 @@ package com.riiablo.io;
public class EndOfInput extends RuntimeException { public class EndOfInput extends RuntimeException {
private static final String DEFAULT_MESSAGE = "The end of the input has been reached!"; private static final String DEFAULT_MESSAGE = "The end of the input has been reached!";
EndOfInput() { public EndOfInput() {
super(DEFAULT_MESSAGE); super(DEFAULT_MESSAGE);
} }
EndOfInput(Throwable cause) { public EndOfInput(Throwable cause) {
super(DEFAULT_MESSAGE, cause); super(DEFAULT_MESSAGE, cause);
} }
} }