Jairam, Roopnaraine wrote:

How do u throw a custom exception?



Throwing Exceptions is very basic Java. Don't tell me you don't know what throwing Exceptions are!

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

Reply via email to