com.bluemarsh.jswat.breakpoint
Class ResolveException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.bluemarsh.jswat.breakpoint.ResolveException
- All Implemented Interfaces:
- java.io.Serializable
- public class ResolveException
- extends java.lang.Exception
ResolveException is thrown whenever a breakpoint fails to resolve.
- Author:
- Nathan Fiedler
- See Also:
- Serialized Form
Field Summary |
protected java.lang.Exception |
nestedException
Nested exception, which is likely the true cause of the problem. |
Constructor Summary |
ResolveException()
Constructs a ResolveException with no message. |
ResolveException(java.lang.Exception e)
Constructs a ResolveException with no message. |
ResolveException(java.lang.String s)
Constructs a ResolveException with the given message. |
ResolveException(java.lang.String s,
java.lang.Exception e)
Constructs a ResolveException with the given message. |
Method Summary |
java.lang.String |
errorMessage()
Return a more humanly readable message for the nested exception. |
java.lang.Exception |
getNestedException()
Returns the nested exception, if any. |
java.lang.String |
toString()
Returns a String representation of this. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
nestedException
protected java.lang.Exception nestedException
- Nested exception, which is likely the true cause of the problem.
ResolveException
public ResolveException()
- Constructs a ResolveException with no message.
ResolveException
public ResolveException(java.lang.String s)
- Constructs a ResolveException with the given message.
- Parameters:
s
- Message.
ResolveException
public ResolveException(java.lang.Exception e)
- Constructs a ResolveException with no message.
- Parameters:
e
- nested exception.
ResolveException
public ResolveException(java.lang.String s,
java.lang.Exception e)
- Constructs a ResolveException with the given message.
- Parameters:
s
- Message.e
- nested exception.
errorMessage
public java.lang.String errorMessage()
- Return a more humanly readable message for the nested exception.
- Returns:
- hopefully a better explanation.
getNestedException
public java.lang.Exception getNestedException()
- Returns the nested exception, if any.
toString
public java.lang.String toString()
- Returns a String representation of this.
- Overrides:
toString
in class java.lang.Throwable