Mercurial Hosting > nabble
view src/nabble/view/lib/MinorServletException.java @ 0:7ecd1a4ef557
add content
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 21 Mar 2019 19:15:52 -0600 |
parents | |
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; } }