public class BugError extends Error
This error is for developer only. It is not expected ever to happen on production server. For this reason it is not normally caught.
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
Java serialization version.
|
Constructor and Description |
---|
BugError(String message,
Object... args)
Constructor from formatted message.
|
BugError(String message,
Throwable cause)
Constructor with message and root cause.
|
BugError(Throwable cause)
Constructor from root cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private static final long serialVersionUID
public BugError(String message, Object... args)
String.format(String, Object...)
for format description.message
- exception formatted message,args
- variable number of arguments for formatted message.public BugError(Throwable cause)
cause
- root cause.Copyright © 2018. All rights reserved.