1 package com.github.mygreen.supercsv.cellprocessor.format;
2
3
4
5
6
7
8
9
10
11 public class TextPrintException extends RuntimeException {
12
13
14 private static final long serialVersionUID = -7227981380538624937L;
15
16
17
18
19 private final Object targetObject;
20
21 public TextPrintException(final Object targetObject, final String message) {
22 super(message);
23 this.targetObject = targetObject;
24 }
25
26 public TextPrintException(final Object targetObject, final Throwable exception) {
27 super(exception);
28 this.targetObject = targetObject;
29 }
30
31 public TextPrintException(final Object targetObject, final String message, final Throwable exception) {
32 super(message, exception);
33 this.targetObject = targetObject;
34 }
35
36
37
38
39
40 public Object getTargetObject() {
41 return targetObject;
42 }
43
44 }