public class TribbleException extends RuntimeException
Modifier and Type | Class and Description |
---|---|
static class |
TribbleException.FeatureFileDoesntExist |
static class |
TribbleException.InternalCodecException |
static class |
TribbleException.InvalidDecodeLine |
static class |
TribbleException.InvalidHeader |
static class |
TribbleException.MalformedFeatureFile |
static class |
TribbleException.TabixReaderFailure |
static class |
TribbleException.UnableToCreateCorrectIndexType |
static class |
TribbleException.UnableToReadIndexFile |
Constructor and Description |
---|
TribbleException(String msg) |
TribbleException(String message,
Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
override the default message with ours, which attaches the source file in question
|
void |
setSource(String source)
set the source for the file; where we got lines from
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TribbleException(String msg)
public void setSource(String source)
source
- the source location, usually a file though it could be a http link or other sourcepublic String getMessage()
getMessage
in class Throwable