Top "Runtimeexception" questions

RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Virtual Machine.

NameError: global name 'xrange' is not defined in Python 3

I am getting an error when running a python program: Traceback (most recent call last): File "C:\Program Files (x86)\…

python python-3.x range runtimeexception xrange
Understanding checked vs unchecked exceptions in Java

Joshua Bloch in "Effective Java" said that Use checked exceptions for recoverable conditions and runtime exceptions for programming errors (Item 58 …

java exception runtimeexception checked-exceptions unchecked-exception
Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion'?

When I run: C:\Users\ashahria\Downloads>java -jar schemaSpy_5.0.0.jar I get the error below. What is wrong? …

java exception environment runtimeexception
Can't create handler inside thread which has not called Looper.prepare()

I have an Activity, and in that I have a class. text=new Dynamictext(...); text.setText("txt"); in my DynamicText …

android runtimeexception
Calling startActivity() from outside of an Activity?

I'm using an AlarmManager to trigger an intent that broadcasts a signal. The following is my code: AlarmManager mgr = (AlarmManager) …

android alarmmanager android-pendingintent runtimeexception
ActionBarCompat: java.lang.IllegalStateException: You need to use a Theme.AppCompat

I am getting a RuntimeException on Android 2.3.5 but I am using Theme.AppCompat (res/values/themes.xml). This is the …

android android-actionbar runtimeexception
How to throw RuntimeException ("cannot find symbol")

I'm trying to throw an exception in my code like this: throw RuntimeException(msg); But when I build in NetBeans …

java exception-handling runtimeexception
Android 'Unable to add window -- token null is not for an application' exception

I get the following Android exception when I try to open a dialog. Can someone please help me understand what …

android android-dialog runtimeexception android-windowmanager
Why doesn't catching Exception catch RuntimeException?

This is very odd to me. RuntimeException inherits from Exception, which inherits from Throwable. catch(Exception exc) { /* won't catch RuntimeException */ …

java exception runtimeexception