1 package com.github.mygreen.cellformatter;
2
3
4 /**
5 * 適切な条件に一致するフォーマットが見つからない場合にスローする例外
6 * @author T.TSUCHIE
7 *
8 */
9 public class NoMatchConditionFormatterException extends RuntimeException {
10
11 /** serialVersionUID */
12 private static final long serialVersionUID = 1L;
13
14 private final CommonCell cell;
15
16 public NoMatchConditionFormatterException(final CommonCell cell, final String message) {
17 super(message);
18 this.cell = cell;
19 }
20
21 /**
22 * フォーマットに失敗したセルを取得する。
23 * @return
24 */
25 public CommonCell getCell() {
26 return cell;
27 }
28
29 }