WebLogic Server 6.0 Code Examples, BEA Systems, Inc.

examples.cluster.ejb.account
Class AccountException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--examples.cluster.ejb.account.AccountException
All Implemented Interfaces:
java.io.Serializable

public class AccountException
extends java.lang.Exception

This class is used with the WebLogic EJBean container-managed example package. AccountException is thrown if the caller attempts to withdraw more than the balance of the account.

Author:
Copyright (c) 1999-2000 by BEA Systems, Inc. All Rights Reserved.

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

Constructor Detail

AccountException

public AccountException()
Constructs exceptions without a specified string.

AccountException

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

Documentation is available at
http://e-docs.bea.com/wls/docs60

Copyright © 2000 BEA Systems, Inc. All Rights Reserved.