com.netflix.eventbus.spi
Class InvalidSubscriberException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.netflix.eventbus.spi.InvalidSubscriberException
All Implemented Interfaces:
java.io.Serializable

public class InvalidSubscriberException
extends java.lang.Exception

Thrown if the subscriber registered with the EventBus is invalid. A subscriber will be invalid if

See Also:
Serialized Form

Constructor Summary
InvalidSubscriberException(java.lang.Class<?> subscriberClass, java.util.Map<java.lang.reflect.Method,java.lang.String> errors)
           
 
Method Summary
 java.util.Set<java.lang.reflect.Method> getOffendingMethods()
           
 java.lang.Class<?> getSubscriberClass()
           
 
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

InvalidSubscriberException

public InvalidSubscriberException(java.lang.Class<?> subscriberClass,
                                  java.util.Map<java.lang.reflect.Method,java.lang.String> errors)
Method Detail

getOffendingMethods

public java.util.Set<java.lang.reflect.Method> getOffendingMethods()

getSubscriberClass

public java.lang.Class<?> getSubscriberClass()