public class SplitDropTreeException extends RuntimeException
SplitDockStation
can't combine two
children which must be combined.Constructor and Description |
---|
SplitDropTreeException(SplitDockStation station,
String message)
Creates a new exception.
|
Modifier and Type | Method and Description |
---|---|
SplitDockStation |
getStation()
Gets the station which is the source of this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SplitDropTreeException(SplitDockStation station, String message)
station
- the source of the exceptionmessage
- the causepublic SplitDockStation getStation()