Class InjectMocksException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InjectMocksException
    extends MockitoException
    Thrown when creation of test subject annotated with InjectMocks fails.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      InjectMocksException​(java.lang.String message, java.lang.Throwable cause)  
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • InjectMocksException

        public InjectMocksException​(java.lang.String message,
                                    java.lang.Throwable cause)