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, toString
public Trip overtaker
public Trip overtaken
public int stopIndex
public String getMessage()
getMessage
in class Throwable
Copyright © 2019. All rights reserved.