nl.jqno.equalsverifier.util.exceptions
Class InternalException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by nl.jqno.equalsverifier.util.exceptions.InternalException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AssertionException, EqualsVerifierBugException, RecursionException, ReflectionException

public abstract class InternalException
extends RuntimeException

Exception internal to the EqualsVerifier project. Using this exception, EqualsVerifier can distinguish between exceptions thrown internally, and exceptions thrown by external code (e.g., in tested equals methods). This is an abstract class; the subclasses indicate the type of exception that is signalled by the EqualsVerifier internals.

Author:
Jan Ouwens
See Also:
Serialized Form

Constructor Summary
InternalException()
           
InternalException(String message)
           
InternalException(String message, Throwable cause)
           
InternalException(Throwable cause)
           
 
Method Summary
 
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
 

Constructor Detail

InternalException

public InternalException()

InternalException

public InternalException(String message)

InternalException

public InternalException(Throwable cause)

InternalException

public InternalException(String message,
                         Throwable cause)


Copyright © 2015. All Rights Reserved.