com.iplanet.am.console.base.model
Class AMConsoleException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.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

Constructor Summary
AMConsoleException(java.util.List errors)
          Creates a Console Exception object.
AMConsoleException(java.lang.String msg)
          Creates a Console Exception object.
AMConsoleException(java.lang.Throwable t)
          Creates a Console Exception object.
 
Method Summary
 java.util.List getErrors()
          Gets error list.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 - Throwable instance.
Method Detail

getErrors

public java.util.List getErrors()
Gets error list.

Returns:
error list.


Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.