0

Well, I do not think you necessarily have to be....is there a way to do something like IllegalArgumentException()? Or call something like that without it being after the parameter of the method?

0

In case anyone else refers back to this post for any information.

The correct way to fix my scenario and call the exception was..

throw new IllegalArgumentException("Invalid Matrix Size");
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.