Class DuplicateNotificationRuleException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jetbrains.buildServer.notification.DuplicateNotificationRuleException
-
- All Implemented Interfaces:
Serializable
public class DuplicateNotificationRuleException extends RuntimeException
Thrown when the same notification rule already exists.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DuplicateNotificationRuleException(Collection<Long> ruleIds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Long>
getRules()
Returns ids of existing rules which caused this exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DuplicateNotificationRuleException
public DuplicateNotificationRuleException(Collection<Long> ruleIds)
-
-
Method Detail
-
getRules
public Collection<Long> getRules()
Returns ids of existing rules which caused this exception.- Returns:
- collection of problem rule ids
-
-