Package org.powermock.api.mockito
Class ClassNotPreparedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.powermock.api.mockito.ClassNotPreparedException
-
- All Implemented Interfaces:
Serializable
public class ClassNotPreparedException extends RuntimeException
The exception is thrown when a user tries to mock class which is't prepared, but should be. For example it could be case mocking static call.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClassNotPreparedException(String message)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ClassNotPreparedException
public ClassNotPreparedException(String message)
-
-