|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.mycore.common.MCRCatchException
public class MCRCatchException
Instances of this class represent a general exception thrown by any part of
the MyCoRe implementation classes.
Note that this class extends java.lang.Exception. Any call of
a method that throws subclass of this class must be catched and handled in
some way.
Exception,
Serialized Form| Constructor Summary | |
|---|---|
MCRCatchException(String message)
Creates a new MCRCatchException with an error message |
|
MCRCatchException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause. |
|
| Method Summary | |
|---|---|
String |
getStackTraceAsString()
Returns a String containing the invocation stack trace for this exception |
String |
toString()
Returns a String representation of this exception and all its properties |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MCRCatchException(String message)
message - the error message for this exception
public MCRCatchException(String message,
Throwable cause)
message - the detail messagecause - the
cause (A null value is permitted, and indicates that the cause
is nonexistent or unknown.)Exception.Exception(java.lang.String, java.lang.Throwable)| Method Detail |
|---|
public String getStackTraceAsString()
MCRException.getStackTraceAsString(Throwable)public String toString()
toString in class Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||