List of usage examples for java.lang RuntimeException RuntimeException
public RuntimeException(Throwable cause)
From source file:Main.java
public static android.opengl.ETC1Util.ETC1Texture compressTexture(java.nio.Buffer input, int width, int height, int pixelSize, int stride) { throw new RuntimeException("Stub!"); }
From source file:Main.java
private static Context getContext() { if (context == null) { throw new RuntimeException("Pass application context to ShaderUtil#init before usage"); }//w w w .j av a2s.co m return context; }
From source file:Main.java
public static void sleep(final long millis) { try {//w w w . j a va 2 s . c o m Thread.sleep(millis); } catch (final InterruptedException e) { throw new RuntimeException(e); } }
From source file:Main.java
public static void cursorDoubleToCursorValues(android.database.Cursor cursor, java.lang.String field, android.content.ContentValues values) { throw new RuntimeException("Stub!"); }
From source file:Main.java
public static void cursorIntToContentValues(android.database.Cursor cursor, java.lang.String field, android.content.ContentValues values) { throw new RuntimeException("Stub!"); }
From source file:Main.java
public static void cursorLongToContentValues(android.database.Cursor cursor, java.lang.String field, android.content.ContentValues values) { throw new RuntimeException("Stub!"); }
From source file:Main.java
public static java.lang.CharSequence replace(java.lang.CharSequence template, java.lang.String[] sources, java.lang.CharSequence[] destinations) { throw new RuntimeException("Stub!"); }
From source file:Main.java
public static int l2i(long paramLong) { if ((paramLong > 2147483647L) || (paramLong < -2147483648L)) throw new RuntimeException( "A cast to int has gone wrong. Please contact the mp4parser discussion group (" + paramLong + ")"); return (int) paramLong; }
From source file:Main.java
public static void copySpansFrom(android.text.Spanned source, int start, int end, java.lang.Class kind, android.text.Spannable dest, int destoff) { throw new RuntimeException("Stub!"); }
From source file:Main.java
public static void requireLock(ReentrantLock lock) { if (!lock.isHeldByCurrentThread()) { throw new RuntimeException( "Lock is not held by current thread: thread-name = " + Thread.currentThread().getName()); }/*from w w w . ja va2 s . c o m*/ }