Mercurial Hosting > nabble
view src/nabble/model/UpdatingException.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.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; } }