org.mockito.internal.stubbing
Class DontThrow

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.mockito.internal.stubbing.DontThrow
All Implemented Interfaces:
java.io.Serializable

public class DontThrow
extends java.lang.RuntimeException

See Also:
Serialized Form

Field Summary
static DontThrow DONT_THROW
           
 
Constructor Summary
DontThrow(Answer answer)
           
 
Method Summary
 Answer getAnswer()
           
 boolean hasAnswer()
           
 
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
 

Field Detail

DONT_THROW

public static final DontThrow DONT_THROW
Constructor Detail

DontThrow

public DontThrow(Answer answer)
Method Detail

getAnswer

public Answer getAnswer()

hasAnswer

public boolean hasAnswer()