Jairam, Roopnaraine wrote:
Throwing Exceptions is very basic Java. Don't tell me you don't know what throwing Exceptions are!How do u throw a custom exception?
Custom Exceptions is a Java class that you write that inherits from the Exception class or the Throwable class.
On some form of error, you instantiate your Custom Exception class, put some debug message in it and throw it up the stack.
-- Lyndon Tiu