public static void asserTrueOrUnspecifiedBeanException ( boolean expression , SQLiteDatabaseSchema schema , SQLiteEntity entity , String foreignClassName ) { if ( ! expression ) { String msg = String . format ( "In dao definition '%s' is referred a bean definition '%s' that is not defined in '%s' schema" , entity . getSimpleName ( ) , foreignClassName , schema . getElement ( ) . getQualifiedName ( ) . toString ( ) ) ; throw ( new InvalidDefinition ( msg ) ) ; } }
Asser true or unspecified bean exception .