Buggy code:
public class MathRuntimeException extends RuntimeException { private static final long serialVersionUID = 9058794795027570002L ; private final Localizable pattern ; private final Object [ ] arguments ; @ Deprecated public MathRuntimeException ( final String pattern , final Object ... arguments ) { } public MathRuntimeException ( final Localizable pattern , final Object ... arguments ) { } public MathRuntimeException ( final Throwable rootCause ) { } @ Deprecated public MathRuntimeException ( final Throwable rootCause , final String pattern , final Object ... arguments ) { } public MathRuntimeException ( final Throwable rootCause , final Localizable pattern , final Object ... arguments ) { } private static String buildMessage ( final Locale locale , final Localizable pattern , final Object ... arguments ) { } @ Deprecated public String getPattern ( ) { } public Localizable getLocalizablePattern ( ) { } public Object [ ] getArguments ( ) { } public String getMessage ( final Locale locale ) { } @ Override public String getMessage ( ) { } @ Override public String getLocalizedMessage ( ) { } @ Override public void printStackTrace ( ) { } @ Override public void printStackTrace ( final PrintStream out ) { } @ Deprecated public static ArithmeticException createArithmeticException ( final String pattern , final Object ... arguments ) { } public static ArithmeticException createArithmeticException ( final Localizable pattern , final Object ... arguments ) { } @ Deprecated public static ArrayIndexOutOfBoundsException createArrayIndexOutOfBoundsException ( final String pattern , final Object ... arguments ) { } public static ArrayIndexOutOfBoundsException createArrayIndexOutOfBoundsException ( final Localizable pattern , final Object ... arguments ) { } @ Deprecated public static EOFException createEOFException ( final String pattern , final Object ... arguments ) { } public static EOFException createEOFException ( final Localizable pattern , final Object ... arguments ) { } public static IOException createIOException ( final Throwable rootCause ) { } @ Deprecated public static IllegalArgumentException createIllegalArgumentException ( final String pattern , final Object ... arguments ) { } public static IllegalArgumentException createIllegalArgumentException ( final Localizable pattern , final Object ... arguments ) { } public static IllegalArgumentException createIllegalArgumentException ( final Throwable rootCause ) { } @ Deprecated public static IllegalStateException createIllegalStateException ( final String pattern , final Object ... arguments ) { } public static IllegalStateException createIllegalStateException ( final Localizable pattern , final Object ... arguments ) { } @ Deprecated public static ConcurrentModificationException createConcurrentModificationException ( final String pattern , final Object ... arguments ) { } public static ConcurrentModificationException createConcurrentModificationException ( final Localizable pattern , final Object ... arguments ) { } @ Deprecated public static NoSuchElementException createNoSuchElementException ( final String pattern , final Object ... arguments ) { } public static NoSuchElementException createNoSuchElementException ( final Localizable pattern , final Object ... arguments ) { } public static UnsupportedOperationException createUnsupportedOperationException ( final Localizable pattern , final Object ... arguments ) { } @ Deprecated public static NullPointerException createNullPointerException ( final String pattern , final Object ... arguments ) { } public static NullPointerException createNullPointerException ( final Localizable pattern , final Object ... arguments ) { } @ Deprecated public static ParseException createParseException ( final int offset , final String pattern , final Object ... arguments ) { } public static ParseException createParseException ( final int offset , final Localizable pattern , final Object ... arguments ) { } public static RuntimeException createInternalError ( final Throwable cause ) { final String argument = "https:////issues.apache.org//jira//browse//MATH" ; <START_BUG> return new RuntimeException ( ) { <END_BUG> private static final long serialVersionUID = - 201865440834027016L ; @ Override public String getMessage ( ) { return MathRuntimeException . buildMessage ( Locale . US , INTERNAL_ERROR , argument ) ; } @ Override public String getLocalizedMessage ( ) { return MathRuntimeException . buildMessage ( Locale . getDefault ( ) , INTERNAL_ERROR , argument ) ; } } ; } }

Fix:
return new RuntimeException ( cause ) {