public class InstantiationError extends IncompatibleClassChangeError
new
is invoked.
Note that this can only occur when inconsistent class files are being loaded.
Constructor and Description |
---|
InstantiationError()
Constructs a new
InstantiationError that includes the current
stack trace. |
InstantiationError(String detailMessage)
Constructs a new
InstantiationError with the current stack trace
and the specified detail message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InstantiationError()
InstantiationError
that includes the current
stack trace.public InstantiationError(String detailMessage)
InstantiationError
with the current stack trace
and the specified detail message.detailMessage
- the detail message for this error.