Mercurial Hosting > nabble
view src/nabble/model/UpdatingException.java @ 47:72765b66e2c3
remove mailing list code
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 18 Jun 2021 17:44:24 -0600 |
parents | 7ecd1a4ef557 |
children |
line wrap: on
line source
package nabble.model; public final class UpdatingException extends RuntimeException { UpdatingException() {} UpdatingException(String msg) { super(msg); } public static boolean isIn(Throwable th) { while( th != null ) { if( th instanceof UpdatingException ) return true; th = th.getCause(); } return false; } }