| Package | Description |
|---|---|
| com.conveyal.gtfs.error |
This package contains all the objects that represent errors encountered during GTFS loading.
|
| com.conveyal.gtfs.graphql.fetchers | |
| com.conveyal.gtfs.storage | |
| com.conveyal.gtfs.validator |
| Modifier and Type | Field and Description |
|---|---|
NewGTFSErrorType |
NewGTFSError.errorType
The kind of error encountered.
|
| Modifier and Type | Method and Description |
|---|---|
static NewGTFSErrorType |
NewGTFSErrorType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NewGTFSErrorType[] |
NewGTFSErrorType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static NewGTFSError |
NewGTFSError.forEntity(Entity entity,
NewGTFSErrorType errorType) |
static NewGTFSError |
NewGTFSError.forFeed(NewGTFSErrorType errorType,
String badValue) |
static NewGTFSError |
NewGTFSError.forLine(Table table,
int lineNumber,
NewGTFSErrorType errorType,
String badValue) |
static NewGTFSError |
NewGTFSError.forTable(Table table,
NewGTFSErrorType errorType) |
| Modifier and Type | Field and Description |
|---|---|
NewGTFSErrorType |
ErrorCountFetcher.ErrorCount.type |
| Constructor and Description |
|---|
ErrorCount(NewGTFSErrorType errorType,
int count) |
| Modifier and Type | Field and Description |
|---|---|
NewGTFSErrorType |
StorageException.errorType
For expected, recognized errors that have a defined enum value.
|
| Constructor and Description |
|---|
StorageException(NewGTFSErrorType errorType,
String badValue)
This is the constructor for expected errors that have a defined enum value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Validator.registerError(Entity entity,
NewGTFSErrorType errorType)
Store an error that affects a single line of a single table.
|
void |
Validator.registerError(Entity entity,
NewGTFSErrorType errorType,
Object badValue)
Store an error that affects a single line of a single table.
|
Copyright © 2019. All rights reserved.