aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Exception thrown from bean  is received as null in client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Exception thrown from bean  is received as null in client" Watch "Exception thrown from bean  is received as null in client" New topic
Author

Exception thrown from bean is received as null in client

selvas kumars
Ranch Hand

Joined: Jan 06, 2001
Posts: 115
Hi all,
i am throwing an Exception from the bean method and in the client i am receving it as null.
what might be the reason for this?
The exception which is thrown is BusinessException which extends Exception class.

The code snippet for BusinessException is as follows
class BusinessException extends Exception{
public BusinessException(String exp){
super(strMessage);
}
}

i am calling as
throw new BusinessException("Invalid data");
Thanks,
silva.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception thrown from bean is received as null in client
 
Similar Threads
Logging / Swallowing exceptions
How can i look up a EJB residing in different machine from client side?
Handling Runtime Exceptions and Fatal Checked Exceptions in the Client
Differentiate server down and no data found
RMI method invocation return value