jerklib.events
Interface UnresolvedHostnameErrorEvent

All Superinterfaces:
ErrorEvent, IRCEvent
All Known Implementing Classes:
UnresolvedHostnameErrorEventImpl

public interface UnresolvedHostnameErrorEvent
extends ErrorEvent

Error generated when a DNS lookup fails during connection.

Author:
mohadib

Nested Class Summary
 
Nested classes/interfaces inherited from interface jerklib.events.ErrorEvent
ErrorEvent.ErrorType
 
Nested classes/interfaces inherited from interface jerklib.events.IRCEvent
IRCEvent.Type
 
Method Summary
 UnresolvedAddressException getException()
          Gets the wrapped UnresolvedAddressException
 String getHostName()
          Gets the unresolvable hostname
 
Methods inherited from interface jerklib.events.ErrorEvent
getErrorType
 
Methods inherited from interface jerklib.events.IRCEvent
getRawEventData, getSession, getType
 

Method Detail

getHostName

String getHostName()
Gets the unresolvable hostname

Returns:
hostname that could not be resloved

getException

UnresolvedAddressException getException()
Gets the wrapped UnresolvedAddressException

Returns:
UnresolvedAddressException