public class TripOvertakingException extends RuntimeException
| Modifier and Type | Field and Description |
|---|---|
Trip |
overtaken |
Trip |
overtaker |
int |
stopIndex |
| Constructor and Description |
|---|
TripOvertakingException(Trip overtaker,
Trip overtaken,
int stopIndex) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic Trip overtaker
public Trip overtaken
public int stopIndex
public String getMessage()
getMessage in class ThrowableCopyright © 2020. All rights reserved.