| 1 | /* |
| 2 | * Copyright (C) 2008 Steve Ratcliffe |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 3 or |
| 6 | * version 2 as published by the Free Software Foundation. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | */ |
| 13 | package uk.me.parabola.imgfmt.app.net; |
| 14 | |
| 15 | /** |
| 16 | * Exception to throw when we detect that we do not know how to encode a particular case. |
| 17 | * This should not be thrown any more, when the preparers is called correctly. |
| 18 | * |
| 19 | * If it is, then the number preparer is marked as invalid and the data is not written to the |
| 20 | * output file. |
| 21 | */ |
| 22 | class Abandon extends RuntimeException { |
| 23 | private static final long serialVersionUID = 1L; |
| 24 | |
| 25 | Abandon(String message) { |
| 26 | super("HOUSE NUMBER RANGE: " + message); |
| 27 | } |
| 28 | } |