Debian Codegraph @

src/uk/me/parabola/imgfmt/app/typ/TypLabelException.java

raw symbols SCIP
1 /*
2 * Copyright (C) 2011.
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, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * General Public License for more details.
12 */
13 package uk.me.parabola.imgfmt.app.typ;
14
15 /**
16 * Used when a label cannot be converted. An error is thrown indicating a charset to try
17 * instead of the default system one.
18 *
19 * @author Steve Ratcliffe
20 */
21 public class TypLabelException extends RuntimeException {
22 private String charsetName;
23
24 public TypLabelException(String charsetName) {
25 this.charsetName = charsetName;
26 }
27
28 public String getCharsetName() {
29 return charsetName;
30 }
31 }