Yes that sounds right. You could look at the EmptyStackException class and model it after that.
Type: Posts; User: Norm
Yes that sounds right. You could look at the EmptyStackException class and model it after that.
You can write your own class if there isn't one in the standard Java API