public static void illegalCode ( Class < ? > destination , Class < ? > source , String path , Throwable e ) { String additionalInformation = e . getMessage ( ) . split ( "," ) [ 1 ] ; throw new IllegalCodeException ( MSG . INSTANCE . message ( illegalCodePath , destination . getSimpleName ( ) , source . getSimpleName ( ) , path , additionalInformation ) ) ; }
Thrown when there is an error in mapper generated class .