info.jedi.net
Class JEDIException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.io.IOException
|
+--info.jedi.net.JEDIException
- Direct Known Subclasses:
- JEDITargetException, NotInRegistryException, TimeoutException
- public class JEDIException
- extends java.io.IOException
- See Also:
- Serialized Form
Field Summary |
java.lang.Throwable |
detail
The nested exception for this JEDIException |
java.lang.String |
detailStackTrace
The stack trace of the nested exception |
Constructor Summary |
JEDIException()
Create a JEDIException |
JEDIException(java.lang.String s)
Create a JEDIException with a specific detail message |
JEDIException(java.lang.String s,
java.lang.Throwable t)
Create a JEDIException with a specific detail message and
a particular nested exception. |
Method Summary |
java.lang.String |
getMessage()
Get the detail message for this JEDIException, including
the message for the nested exception if applicable |
void |
printStackTrace()
Prints this JEDIException and its backtrace to standard
error |
void |
printStackTrace(java.io.PrintStream s)
Prints this JEDIException and its backtrace to the given
PrintStream |
void |
printStackTrace(java.io.PrintWriter s)
Prints this JEDIException and its backtrace to the given
PrintWriter |
java.lang.String |
toString()
Converts to a string. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
detail
public java.lang.Throwable detail
- The nested exception for this JEDIException
detailStackTrace
public java.lang.String detailStackTrace
- The stack trace of the nested exception
JEDIException
public JEDIException()
- Create a JEDIException
JEDIException
public JEDIException(java.lang.String s)
- Create a JEDIException with a specific detail message
JEDIException
public JEDIException(java.lang.String s,
java.lang.Throwable t)
- Create a JEDIException with a specific detail message and
a particular nested exception.
getMessage
public java.lang.String getMessage()
- Get the detail message for this JEDIException, including
the message for the nested exception if applicable
- Overrides:
- getMessage in class java.lang.Throwable
printStackTrace
public void printStackTrace()
- Prints this JEDIException and its backtrace to standard
error
- Overrides:
- printStackTrace in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintStream s)
- Prints this JEDIException and its backtrace to the given
PrintStream
- Overrides:
- printStackTrace in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintWriter s)
- Prints this JEDIException and its backtrace to the given
PrintWriter
- Overrides:
- printStackTrace in class java.lang.Throwable
toString
public java.lang.String toString()
- Converts to a string. Set up so that it returns an empty
string when in a stack trace, to make the stack trace
prettier
- Overrides:
- toString in class java.lang.Throwable