public class InstantiationException extends Exception
Constructor and Description |
---|
InstantiationException()
Constructs a new
InstantiationException that includes the current
stack trace. |
InstantiationException(String detailMessage)
Constructs a new
InstantiationException with the current stack
trace and the specified detail message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InstantiationException()
InstantiationException
that includes the current
stack trace.public InstantiationException(String detailMessage)
InstantiationException
with the current stack
trace and the specified detail message.detailMessage
- the detail message for this exception.