Error : In Java Error indicates the problem which can't be controlled or guessed when it will occur. It indicates that there is a serious problem which an application shouldn't be try to catch this error. For example OutOfMemory error. Generally error indicates the error related to system and/or linked resources. Generally an error occurs at the compilation time.

Exception : In Java an Exception indicates the problem which can be handled and guessed. In a reasonable application it indicates the problem that should be try to catch and the application behave normally. For Example IOException. Exceptions are of two types Checked exceptions and Unchecked exceptions. Generally an exception occurs at execution time.

java.lang.Throwable is the base class of both classes java.lang.Error and java.lang.Exception

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

Error and Exception in Java - Java BeginnersError and Exception in Java Hi,
What is the base class for Error... of Error and exceptionError dont have any base class. RuntimeException...
_____|_________________
| |
ErrorException

Exception Handling-Error Messages in ProgramException 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

Null pointer exception error in Jsp - JSP-Servlet
Null pointer exceptionerror in Jsp Hi i write a login page. when i validate the login value then the nullpointer exceptionerror is occured.
my... then the following error is occured.
HTTP Status 500

Null pointer exception error in Jsp - JSP-Servlet
Null pointer exceptionerror in Jsp Expert:Majid
Hi i write a login page. when i validate the login value then the nullpointer exceptionerror... then the following error is occured.
HTTP Status 500

exception
exception chek in and check out exception in java
Please visit the following link:
Checked and Unchecked Exception

exception
arguments are not equalto two,throw a user defined exception "invalid parameter exception" ,otherwise display the two parameters.
Here is an example... is not equal to two then invalid parameter exception is thrown ,otherwise display the two

exception
exception what is the use of catch block even though we have predefined exception object

exception
defined checked exception Ã¢â?¬Å?InvalidCharcterFoundExceptionÃ¢â?¬Â? and creater a block of codes that will handle the exception

Exception
Exception whis is the Arithmetic Exception in java? or define Arithmetic Exception with exp?
Arithmetic Exception occurs, when you divide a number by zero.
Example
public class TryCatch {
public static void main

exception
user defined unchecked exception can we create user defined unchecked exceptions? if so what is the exact use of it in real time?
Please visit the following links:
http://www.roseindia.net/java/java-exception/user

exception
exception Identify the reason for SQLException exception, which is encountered when the
developer tries to run the following code snippet to insert...");
ps.executeUpdate();
}
catch(Exception e

n raised to power pn raised to power p wap to input 2 integers n and p.find and print n raised to the power p without using Math.pow() function

Sum of first n numbers
Sum of first n numbers i want a simple java program which will show the sum of first
n numbers....
import java.util.*;
public class... Scanner(System.in);
System.out.print("Enter value of n: ");
int n