public class RemoteException extends IOException
Constructor and Description |
---|
RemoteException() |
RemoteException(String s) |
RemoteException(String s,
Throwable ex) |
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Returns the extra information message which was provided when this
Throwable was created. |
void |
printStackTrace()
Writes a printable representation of this
Throwable 's stack trace
to the System.err stream. |
void |
printStackTrace(PrintStream ps)
Writes a printable representation of this
Throwable 's stack trace
to the specified print stream. |
void |
printStackTrace(PrintWriter pw)
Writes a printable representation of this
Throwable 's stack trace
to the specified print writer. |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
public Throwable detail
public RemoteException()
public RemoteException(String s)
public String getMessage()
Throwable
Throwable
was created. Returns null
if no message was
provided at creation time.getMessage
in class Throwable
Throwable
's detail message.public void printStackTrace()
Throwable
Throwable
's stack trace
to the System.err
stream.printStackTrace
in class Throwable
public void printStackTrace(PrintStream ps)
Throwable
Throwable
's stack trace
to the specified print stream. If the Throwable
contains a
cause
, the method will be invoked recursively for
the nested Throwable
.printStackTrace
in class Throwable
ps
- the stream to write the stack trace on.public void printStackTrace(PrintWriter pw)
Throwable
Throwable
's stack trace
to the specified print writer. If the Throwable
contains a
cause
, the method will be invoked recursively for the
nested Throwable
.printStackTrace
in class Throwable
pw
- the writer to write the stack trace on.