public class ExceptionEvent extends Event
Constructor and Description |
---|
ExceptionEvent(PircBotX bot,
Exception exception,
String message) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Exception |
getException() |
String |
getMessage() |
int |
hashCode() |
void |
respond(String response)
A simple abstract method that all events must implement to respond to an
event happening.
|
String |
toString() |
compareTo, getBot, getId, getTimestamp
public void respond(String response)
Event
respond
in interface GenericEvent
respond
in class Event
response
- The response to send@Generated(value="lombok") public Exception getException()
@Generated(value="lombok") public String getMessage()
Copyright © 2010–2020 Leon Blakey. All rights reserved.