Package com.atlassian.bamboo.utils
Class FirstException<T extends Throwable>
- java.lang.Object
-
- com.atlassian.bamboo.utils.FirstException<T>
-
-
Constructor Summary
Constructors Constructor Description FirstException()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setIfFirst(T e)
Remembers the exception if none was reported so far.void
throwIfPresent()
Throws the exception if one is present.
-