public class BambooValidate extends Object
Modifier and Type | Method and Description |
---|---|
static void |
notInsideTransaction()
Validate if thread is running outside transaction, throwing RuntimeException if it is inside transaction.
|
static void |
notInsideTransaction(String message)
Validate if thread is running outside transaction, throwing RuntimeException if it is inside transaction.
|
public static void notInsideTransaction()
public static void notInsideTransaction(@Nullable String message)
message
- the exception message you would like to see if the thread is inside transactionCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.