samples.j2ee.ejb.basic.statelessSession
Class ProcessingErrorException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--javax.ejb.EJBException
                          |
                          +--samples.j2ee.ejb.basic.statelessSession.ProcessingErrorException

public class ProcessingErrorException
extends javax.ejb.EJBException

This class is used with the samples.j2ee.ejb.statefulSession package. ProcessingErrorException is thrown if an error occurs while either buying or selling a stock.

See Also:
Serialized Form

Constructor Summary
ProcessingErrorException()
          Catches exceptions without a specified string
ProcessingErrorException(java.lang.String message)
          Constructs the appropriate exception with the specified string
 
Methods inherited from class javax.ejb.EJBException
getCausedByException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProcessingErrorException

public ProcessingErrorException()
Catches exceptions without a specified string

ProcessingErrorException

public ProcessingErrorException(java.lang.String message)
Constructs the appropriate exception with the specified string
Parameters:
message - Exception message