|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.utils.BambooValidate
public class BambooValidate
Place for all validation methods you can't find in org.apache.commons.validator framework
Method Summary | |
---|---|
static void |
notInsideTransaction()
Validate if thread is running outside transaction, throwing RuntimeException if it is inside transaction. |
static void |
notInsideTransaction(java.lang.String message)
Validate if thread is running outside transaction, throwing RuntimeException if it is inside transaction. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void notInsideTransaction()
public static void notInsideTransaction(@Nullable java.lang.String message)
message
- the exception message you would like to see if the thread is inside transaction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |