Package com.java.pojo.internal.assertion
Class AbstractAssertionError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.java.pojo.internal.assertion.AbstractAssertionError
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbstractEqualsAssertionError
,AbstractHashCodeAssertionError
,ConstructorAssertionError
public abstract class AbstractAssertionError extends RuntimeException
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Class<?>
testedCass
-
Constructor Summary
Constructors Constructor Description AbstractAssertionError(Class<?> testedCass)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract String
getDetailedMessage()
protected abstract String
getErrorPrefix()
String
getMessage()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
testedCass
protected final Class<?> testedCass
-
-
Constructor Detail
-
AbstractAssertionError
public AbstractAssertionError(Class<?> testedCass)
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
getErrorPrefix
protected abstract String getErrorPrefix()
-
getDetailedMessage
protected abstract String getDetailedMessage()
-
-