jetbrains.buildServer.notification
Class DuplicateNotificationRuleException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by jetbrains.buildServer.notification.DuplicateNotificationRuleException
All Implemented Interfaces:
java.io.Serializable

public class DuplicateNotificationRuleException
extends java.lang.RuntimeException

Thrown when the same notification rule already exists.

See Also:
Serialized Form

Constructor Summary
DuplicateNotificationRuleException(java.util.Collection<java.lang.Long> ruleIds)
           
 
Method Summary
 java.util.Collection<java.lang.Long> getRules()
          Returns ids of existing rules which caused this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateNotificationRuleException

public DuplicateNotificationRuleException(java.util.Collection<java.lang.Long> ruleIds)
Method Detail

getRules

public java.util.Collection<java.lang.Long> getRules()
Returns ids of existing rules which caused this exception.

Returns:
collection of problem rule ids