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
,net.sourceforge.pmd.internal.util.ExceptionContextDefaultImpl<ContextedStackOverflowError>
,org.apache.commons.lang3.exception.ExceptionContext
public final class ContextedStackOverflowError extends StackOverflowError implements net.sourceforge.pmd.internal.util.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
-
-
-
-
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 interfacenet.sourceforge.pmd.internal.util.ExceptionContextDefaultImpl<ContextedStackOverflowError>
-
getThrowable
public ContextedStackOverflowError getThrowable()
- Specified by:
getThrowable
in interfacenet.sourceforge.pmd.internal.util.ExceptionContextDefaultImpl<ContextedStackOverflowError>
-
-