|
MySQL Connector/J size='-1'>5.0.8 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.mysql.jdbc.AssertionFailedException
Assertions for empty code paths that should never be executed.
Constructor Summary | |
AssertionFailedException(java.lang.Exception ex)
Creates an AssertionFailedException for the given exception that should never have been thrown. |
Method Summary | |
static void |
shouldNotHappen(java.lang.Exception ex)
Convenience method. |
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 |
public AssertionFailedException(java.lang.Exception ex)
ex
- the exception that should never have been thrown.Method Detail |
public static void shouldNotHappen(java.lang.Exception ex) throws AssertionFailedException
ex
- the exception that should never have been thrown.
AssertionFailedException
- for the exception ex.
|
MySQL Connector/J size='-1'>5.0.8 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |