axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lyndon Tiu <>
Subject Re: data validation
Date Tue, 14 Dec 2004 18:55:59 GMT
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

View raw message