public static void xmlWrongMethod ( Class < ? > aClass ) { throw new WrongMethodException ( MSG . INSTANCE . message ( wrongMethodException1 , aClass . getSimpleName ( ) ) ) ; }
Thrown when the class has only one attribute .