java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jdk.incubator.concurrent.StructureViolationException
- All Implemented Interfaces:
Serializable
Thrown when a structure violation is detected.
- Since:
- 19
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs aStructureViolationException
with no detail message.StructureViolationException
(String message) Constructs aStructureViolationException
with the specified detail message. -
Method Summary
Methods declared in class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
StructureViolationException
public StructureViolationException()Constructs aStructureViolationException
with no detail message. -
StructureViolationException
Constructs aStructureViolationException
with the specified detail message.- Parameters:
message
- the detail message, can be null
-