java.lang.Object
io.quarkus.gizmo2.creator.ops.ObjectOps
io.quarkus.gizmo2.creator.ops.ThrowableOps
Operations on
Throwable.-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSuppressed(Expr exception) Generate a call toThrowable.addSuppressed(Throwable).getCause()Generate a call toThrowable.getCause().Generate a call toThrowable.getLocalizedMessage().Generate a call toThrowable.getMessage().Generate a call toThrowable.getSuppressed().
-
Constructor Details
-
ThrowableOps
Construct a new instance.- Parameters:
bc- the block creator (must not benull)obj- the collection instance (must not benull)
-
-
Method Details
-
getMessage
Generate a call toThrowable.getMessage().- Returns:
- the expression of the result (not
null)
-
getLocalizedMessage
Generate a call toThrowable.getLocalizedMessage().- Returns:
- the expression of the result (not
null)
-
getCause
Generate a call toThrowable.getCause().- Returns:
- the expression of the result (not
null)
-
getSuppressed
Generate a call toThrowable.getSuppressed().- Returns:
- the expression of the result (not
null)
-
addSuppressed
Generate a call toThrowable.addSuppressed(Throwable).- Parameters:
exception- the expression of the exception to add (must not benull)
-