java.lang.Object
io.quarkus.gizmo2.creator.ops.ObjectOps
io.quarkus.gizmo2.creator.ops.ThrowableOps
Operations on
Throwable.-
Constructor Summary
ConstructorsModifierConstructorDescriptionThrowableOps(BlockCreator bc, Expr obj) Construct a new instance.protectedThrowableOps(Class<?> receiverType, BlockCreator bc, Expr obj) Construct a new subclass instance. -
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().Methods inherited from class io.quarkus.gizmo2.creator.ops.ObjectOps
blockCreator, equals_, getClass_, hashCode_, invokeInstance, invokeInstance, invokeInstance, invokeInstance, invokeInstance, receiver, receiverType, toString_
-
Constructor Details
-
ThrowableOps
Construct a new instance.- Parameters:
bc- the block creator (must not benull)obj- the collection instance (must not benull)
-
ThrowableOps
Construct a new subclass instance.- Parameters:
receiverType- the type of the receiver (must not benull)bc- the block creator (must not benull)obj- the receiver object (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)
-