com.iplanet.am.console.base.model
Class  AMConsoleException
java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.iplanet.am.console.base.model.AMConsoleException
- All Implemented Interfaces: 
- java.io.Serializable
- public class AMConsoleException- extends java.lang.Exception
AMConsoleException is thrown to signal to the view bean
 that incorrect behavior is encountered in processing a request.
- See Also: 
- Serialized Form
 
| Method Summary | 
|  java.util.List | getErrors()Gets error list.
 | 
 
| 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 | 
 
AMConsoleException
public AMConsoleException(java.lang.String msg)
- Creates a Console Exception object.- 
- Parameters:
- msg- exception message.
 
AMConsoleException
public AMConsoleException(java.util.List errors)
- Creates a Console Exception object.- 
- Parameters:
- errors- list of error messages.
 
AMConsoleException
public AMConsoleException(java.lang.Throwable t)
- Creates a Console Exception object.- 
- Parameters:
- t-- Throwableinstance.
 
getErrors
public java.util.List getErrors()
- Gets error list.- 
- Returns:
- error list.
 
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.