Constructs an InternalError with the specified cause
and a detail message of (cause==null ? null :
cause.toString()) (which typically contains the class and
detail message of cause).
Returns an array containing all of the exceptions that were
suppressed, typically by the try-with-resources
statement, in order to deliver this exception.
Constructs an InternalError with the specified detail
message and cause.
Note that the detail message associated
with cause is not automatically incorporated in
this error's detail message.
Parameters
message
the detail message (which is saved for later retrieval
by the Throwable.getMessage() method).
cause
the cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)
Constructs an InternalError with the specified cause
and a detail message of (cause==null ? null :
cause.toString()) (which typically contains the class and
detail message of cause).
Parameters
cause
the cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[],["`InternalError` signifies an unexpected error within the Java Virtual Machine. It extends `VirtualMachineError` and can have `ZipError` as a subclass. You can construct `InternalError` instances with or without a custom message or a cause (`Throwable`). Methods allow retrieving the message, cause, stack trace, and suppressed exceptions. Additionally it enables setting and printing the stack trace and getting localized message, it also provides basic object functionalities like `equals` and `wait`.\n"]]