public class StackException extends RuntimeException { public StackException() { } public StackException(String msg) { super(msg); } }