public class DataImportException extends RuntimeException
Modifier and Type | Field and Description |
---|---|
private int |
column
The optional column that had the error (-1 if unknown).
|
private String |
file
The optional file name that had the error.
|
private int |
line
The optional line that had the error (-1 if unknown).
|
private static long |
serialVersionUID |
Constructor and Description |
---|
DataImportException(String message)
Creates a new exception.
|
DataImportException(String message,
String file)
Creates a new exception.
|
DataImportException(String message,
String file,
int line)
Creates a new exception.
|
DataImportException(String message,
String file,
int line,
int column)
Creates a new exception.
|
DataImportException(String message,
String file,
int line,
int column,
Throwable cause)
Creates a new exception.
|
DataImportException(String message,
String file,
int line,
Throwable cause)
Creates a new exception.
|
DataImportException(String message,
String file,
Throwable cause)
Creates a new exception.
|
DataImportException(String message,
Throwable cause)
Creates a new exception.
|
Modifier and Type | Method and Description |
---|---|
int |
getColumn()
The optional column that had the error (-1 if unknown).
|
String |
getFile()
The optional file name that had the error.
|
int |
getLine()
The optional line that had the error (-1 if unknown).
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
private static final long serialVersionUID
private final String file
private final int line
private final int column
public DataImportException(String message)
message
- the error messagepublic DataImportException(String message, String file)
message
- the error messagefile
- the optional file name that had the errorpublic DataImportException(String message, String file, int line)
message
- the error messagefile
- the optional file name that had the errorline
- the optional line that had the error (-1 if unknown)public DataImportException(String message, String file, int line, int column)
message
- the error messagefile
- the optional file name that had the errorline
- the optional line that had the error (-1 if unknown)column
- the optional column that had the error (-1 if unknown)public DataImportException(String message, String file, int line, int column, Throwable cause)
message
- the error messagefile
- the optional file name that had the errorline
- the optional line that had the error (-1 if unknown)column
- the optional column that had the error (-1 if unknown)cause
- the cause of the errorpublic DataImportException(String message, String file, int line, Throwable cause)
message
- the error messagefile
- the optional file name that had the errorline
- the optional line that had the error (-1 if unknown)cause
- the cause of the errorpublic DataImportException(String message, String file, Throwable cause)
message
- the error messagefile
- the optional file name that had the errorcause
- the cause of the error@Generated(value="lombok") public String getFile()
@Generated(value="lombok") public int getLine()
@Generated(value="lombok") public int getColumn()
Copyright © 2022 fastnate.org. All rights reserved.