Save This Page
Home » openjdk-7 » java » rmi » [javadoc | source]
java.rmi
public class: UnknownHostException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.io.IOException
            java.rmi.RemoteException
               java.rmi.UnknownHostException

All Implemented Interfaces:
    Serializable

An UnknownHostException is thrown if a java.net.UnknownHostException occurs while creating a connection to the remote host for a remote method call.
Fields inherited from java.rmi.RemoteException:
detail
Fields inherited from java.io.IOException:
serialVersionUID
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public UnknownHostException(String s) 
    Constructs an UnknownHostException with the specified detail message.
    Parameters:
    s - the detail message
    since: JDK1.1 -
 public UnknownHostException(String s,
    Exception ex) 
    Constructs an UnknownHostException with the specified detail message and nested exception.
    Parameters:
    s - the detail message
    ex - the nested exception
    since: JDK1.1 -
Methods from java.rmi.RemoteException:
getCause,   getMessage
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait