public class InternalNormException extends RuntimeException
detail
field will give a description
that can be reported to Norm's developer (and may be documented
in that Norm's documentation).Modifier and Type | Field and Description |
---|---|
Throwable |
nestedException
The exception (if any) that triggered the internal exception.
|
Constructor and Description |
---|
InternalNormException(String str)
Create an exception, forwarding a string to the superclass constructor.
|
InternalNormException(String str,
Throwable ex)
Create an exception, forwarding a string and exception to the
superclass constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
printStackTrace()
Print the stack trace of this exception, plus that of the nested
exception, if any.
|
void |
printStackTrace(PrintStream out)
Print the stack trace of this exception, plus that of the nested
exception, if any.
|
void |
printStackTrace(PrintWriter out)
Print the stack trace of this exception, plus that of the nested
exception, if any.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
public final Throwable nestedException
null
.public InternalNormException(String str)
str
- the detail messagepublic void printStackTrace()
printStackTrace
in class Throwable
public void printStackTrace(PrintStream out)
printStackTrace
in class Throwable
public void printStackTrace(PrintWriter out)
printStackTrace
in class Throwable
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.