Package net.sourceforge.pmd.util
Class ContextedStackOverflowError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Error
-
- java.lang.VirtualMachineError
-
- java.lang.StackOverflowError
-
- net.sourceforge.pmd.util.ContextedStackOverflowError
-
- All Implemented Interfaces:
Serializable
,ExceptionContextDefaultImpl<ContextedStackOverflowError>
,org.apache.commons.lang3.exception.ExceptionContext
public final class ContextedStackOverflowError extends StackOverflowError implements ExceptionContextDefaultImpl<ContextedStackOverflowError>
AStackOverflowError
with nice messages.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.commons.lang3.exception.DefaultExceptionContext
getExceptionContext()
String
getMessage()
ContextedStackOverflowError
getThrowable()
static ContextedStackOverflowError
wrap(StackOverflowError e)
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sourceforge.pmd.internal.util.ExceptionContextDefaultImpl
addContextValue, getContextEntries, getContextLabels, getContextValues, getFirstContextValue, getFormattedExceptionMessage, setContextValue
-
-
-
-
Method Detail
-
wrap
public static ContextedStackOverflowError wrap(StackOverflowError e)
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
getExceptionContext
public org.apache.commons.lang3.exception.DefaultExceptionContext getExceptionContext()
- Specified by:
getExceptionContext
in interfaceExceptionContextDefaultImpl<ContextedStackOverflowError>
-
getThrowable
public ContextedStackOverflowError getThrowable()
- Specified by:
getThrowable
in interfaceExceptionContextDefaultImpl<ContextedStackOverflowError>
-
-