Package com.atlassian.bamboo.utils
Class FirstException<T extends Throwable>
java.lang.Object
com.atlassian.bamboo.utils.FirstException<T>
Remembers the first reported exception so that it can be rethrown later.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setIfFirst
(T e) Remembers the exception if none was reported so far.void
Throws the exception if one is present.