public class IcebergException
extends Exception
| Constructor and Description |
|---|
IcebergException(int riverID,
String message)
Instantiation.
|
IcebergException(int riverID,
String message,
Throwable cause)
Instantiation.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getRiverID()
Returns the River ID number that this Throwable Iceberg belongs to.
|
public IcebergException(int riverID,
String message)
riverID - River ID numbermessage - Details about the error that occurredpublic IcebergException(int riverID,
String message,
Throwable cause)
riverID - River ID numbermessage - Details about the error that occurredcause - The cause