oracle.ide.scm.error
Class SCMExtendedException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--oracle.ide.util.NestedException
|
+--oracle.ide.scm.error.SCMException
|
+--oracle.ide.scm.error.SCMExtendedException
- All Implemented Interfaces:
- java.io.Serializable
- public class SCMExtendedException
- extends SCMException
Abstraction for extended-style exceptions, reported through the framework
exception handler with the error message and subtext. Useful where more
information (possibly lengthy) can be provided about the error.
- See Also:
- Serialized Form
Fields inherited from class oracle.ide.util.NestedException |
DEFAULT_SEVERITY, SEV_DONT_DISPLAY, SEV_ERROR, SEV_FATAL, SEV_INFORMATIONAL, SEV_WARNING |
Constructor Summary |
SCMExtendedException(java.lang.String error,
java.lang.String subtext)
Construct an SCMExtendedException with the specified error message
and informational subtext. |
Method Summary |
java.lang.String |
getError()
Gets the main error message for the exception |
java.lang.String |
getSubtext()
Gets the informational subtext for the exception |
Methods inherited from class oracle.ide.util.NestedException |
getSeverity, getStackTrace, getStackTrace, getTarget, getTitle, setSeverity, setTitle |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SCMExtendedException
public SCMExtendedException(java.lang.String error,
java.lang.String subtext)
- Construct an SCMExtendedException with the specified error message
and informational subtext.
getError
public final java.lang.String getError()
- Gets the main error message for the exception
- Returns:
- the exception subtext.
getSubtext
public final java.lang.String getSubtext()
- Gets the informational subtext for the exception
- Returns:
- the exception subtext.