public static void classNotMapped ( Object sourceClass , Class < ? > configuredClass ) { String sourceName = sourceClass instanceof Class ? ( ( Class < ? > ) sourceClass ) . getSimpleName ( ) : sourceClass . getClass ( ) . getSimpleName ( ) ; throw new ClassNotMappedException ( MSG . INSTANCE . message ( classNotMappedException2 , sourceName , configuredClass . getSimpleName ( ) ) ) ; }
Thrown if the sourceClass isn t mapped in configuredClass .