Creating a Custom Exception Class in Java for an Empty Integer Array