1 16 package scriptella.driver.csv; 17 18 import scriptella.spi.ProviderException; 19 20 26 public class CsvProviderException extends ProviderException { 27 public CsvProviderException() { 28 } 29 30 public CsvProviderException(String message) { 31 super(message); 32 } 33 34 public CsvProviderException(String message, String statement) { 35 super(message); 36 setErrorStatement(statement); 37 } 38 39 public CsvProviderException(String message, Throwable cause) { 40 super(message, cause); 41 } 42 43 public CsvProviderException(String message, Throwable cause, String statement) { 44 super(message, cause); 45 setErrorStatement(statement); 46 } 47 48 49 public CsvProviderException(Throwable cause) { 50 super(cause); 51 } 52 53 public String getProviderName() { 54 return Driver.DIALECT.getName(); 55 } 56 } 57 | Popular Tags |