view src/nabble/view/lib/MinorServletException.java @ 62:4674ed7d56df default tip

remove n2
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 30 Sep 2023 20:25:29 -0600
parents 7ecd1a4ef557
children
line wrap: on
line source

package nabble.view.lib;

import javax.servlet.ServletException;


public final class MinorServletException extends ServletException {

	MinorServletException(Throwable cause) {
		super(cause);
	}

	public static boolean isIn(Throwable th) {
		while( th != null ) {
			if( th instanceof MinorServletException )
				return true;
			th = th.getCause();
		}
		return false;
	}

}