1 22 package org.objectweb.petals.engine.csv.exception; 23 24 31 public class CsvException extends Exception { 32 33 private static final long serialVersionUID = 1L; 34 35 protected String messageKey; 36 37 38 41 public CsvException(String message) { 42 super(message); 43 } 44 45 49 public CsvException(String message, Throwable e) { 50 super(message + e); 51 } 52 53 58 public CsvException(String message, Throwable e, String messageKey) { 59 super(message, e); 60 this.messageKey = messageKey; 61 } 62 63 67 public CsvException(String message, String messageKey) { 68 super(message); 69 this.messageKey = messageKey; 70 } 71 72 } 73 74 75 | Popular Tags |