Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners Error and Exception in Java
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Deepak Kumar
Error and Exception in Java
1 Answer(s)      4 years and 3 months ago
Posted in : Java Beginners


Hi,

What is the base class for Error and Exception?

Thanks

Advertisement
View Answers

October 5, 2010 at 5:34 PM


hello.
Throwable is the super class of Error and exception
Error dont have any base class. RuntimeException is the base calss of Exception class.

Throwable
_____|_________________
| |
Error Exception
| |
RuntimeExce(Unchecked) Checked(IoExce, Sql Exce etc)

Thanks


Related Tutorials/Questions & Answers:
Error and Exception in Java - Java Beginners
Error and Exception in Java  Hi, What is the base class for Error... of Error and exception Error dont have any base class. RuntimeException... _____|_________________ | | Error Exception
"compilation error " & "throw an exception" - Java Beginners
"compilation error " & "throw an exception"  Hello. I have...=sql2.executeUpdate("Select * From Publishers"); a. Will throw an exception b. Will result in compilation error c. Will return the number of rows retrieved from
Advertisements
Difference between error and exception ????????
Difference between error and exception ?  Can we handle a error in java if yes than give an code of an example? Difference between error and exception handling.......   Exceptions are things you can create/throw
exception error inservlet
exception error inservlet  Hi,i got the error as..below..wat could be the possible mistake ?THANK YOU!!! type Exception report message description The server encountered an internal error () that prevented it from fulfilling
Error:No Class Found Exception:org.postgresql.driver
Error:No Class Found Exception:org.postgresql.driver  Error:No Class Found Exception:org.postgresql.driver while connecting JDBC With PostgreSQL 8.4 I m running My Program with java 6.0
Java exception
Java exception  What is the difference between exception and error
Error n Exception
Error n Exception  Difference between errors and exceptions
Exception Handling-Error Messages in Program
Exception Handling-Error Messages in Program  Hi Friend, I am having trouble running this code as per my prior question on Exception handling...[]) throws Exception{ This is where I begin to see problems with error messages
Exception Handling-Error Messages in Program
Exception Handling-Error Messages in Program  Sorry about the first code block: import java.util.*; class GradeException extends Exception{ public GradeException(String s){ System.out.println(s); } } ----jGRASP exec: javac -g C
Exception Java
Exception Java  Hi, What are the Exception Java? Thanks   Hi, Read it at Java Exception. Thanks
Java Exception
Java Exception  Which is superclass of Exception
Java exception
Java exception  Can an exception be rethrown
Java exception
Java exception  What happens if an exception is not caught
java exception
java exception   define an exception called no match exception tat z... { public static void main(String[] args) throws Exception { String z="Hello"; if(!z.equals("India")){ throw new Exception
Java exception
Java exception  What is the difference between Checked and Unchecked exception
java exception handle
java exception handle  How error can be handled in the exception class?? can we handle fatal error in java
Java Exception
Java Exception  Explain about checked and unchecked Exceptions... a compile-time error by the programmer. These exceptions extend... indicated by Error, RuntimeException or their subclasses. For example if you call
Exception handling in java
Exception handling in java We are going to discus about Exception handling in java. Java program many provides exception. We are handle of error in program when during execution in a program .we are generate of exception try() block
exception handling code for file not found error..
exception handling code for file not found error..  How to do exception handling for file not found error
exception in java
exception in java  StringIndexOutOfBounds Exception in flames program   Hi Friend, We have providing you a program. Try it: import... are same"; else return "Error in finding flame
Java Exception
Java Exception  What are monitors
Java Exception
Java Exception  Why Errors are Not Checked
Java Exception
Java Exception  Why Runtime Exceptions are Not Checked
Java Exception
Java Exception  What is ?Resource leak
Java Exception
Java Exception  What is the purpose of finalization
Java exception
Java exception  Can try statements be nested
Java exception
Java exception  What is NullPointerException and how to handle
Java Exception
Java Exception  What are Chained Exceptions
exception in java - Java Beginners
exception in java  exception in java
Java Exception
Java Exception  Can a catch block exist without a try block
Java Exception
Java Exception  If I write System.exit (0); at the end of the try block, will the finally block still execute
Advertisements
 

 

 

DMCA.com