net.sf.qualitytest.exception
Class CoverageForPrivateConstructorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sf.qualitytest.exception.CoverageForPrivateConstructorException
- All Implemented Interfaces:
- Serializable
public class CoverageForPrivateConstructorException
- extends RuntimeException
Thrown to indicate that an error occured while giving coverage to a private constructor.
- Author:
- Dominik Seichter
- See Also:
- Serialized Form
Field Summary |
protected static String |
DEFAULT_MESSAGE
Default message to indicate that the a given argument must not be empty. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
DEFAULT_MESSAGE
protected static final String DEFAULT_MESSAGE
- Default message to indicate that the a given argument must not be empty.
- See Also:
- Constant Field Values
CoverageForPrivateConstructorException
public CoverageForPrivateConstructorException()
- Constructs an
CoverageForPrivateConstructorException
with the default message
DEFAULT_MESSAGE
.
CoverageForPrivateConstructorException
public CoverageForPrivateConstructorException(@Nullable
Throwable cause)
- Constructs a new exception with the default message
DEFAULT_MESSAGE
.
- Parameters:
cause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method). (A
null
value is permitted, and indicates that the cause is nonexistent or unknown.)
Copyright © 2012-2013. All Rights Reserved.