|
Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 API Reference 11g Release 1 (10.3.1) Part Number E13941-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
weblogic.management.utils.ErrorCollectionException
public class ErrorCollectionException
The ErrorCollectionException
exception is thrown when multiple errors
(that are related in some way) occur. This exception typically contains some number
of more specific, individual exceptions that provide more information about the underlying errors.
For example, the ErrorCollectionException
exception may be thrown when an attempt is
made to validate an invalid security realm, or when performing security data migration tasks.
In each case, the exceptions within the ErrorCollectionException
exception provide the
details about what went wrong.
Field Summary | |
---|---|
static long |
serialVersionUID
|
Constructor Summary | |
---|---|
ErrorCollectionException()
Constructs an ErrorCollectionException with no embedded exceptions. |
|
ErrorCollectionException(String baseMessage)
Constructs an ErrorCollectionException with the specified base message. |
|
ErrorCollectionException(Throwable exception)
Constructs an ErrorCollectionException that specifies a single embedded exception. |
Method Summary | |
---|---|
void |
add(Throwable exception)
Adds an exception to this collection of exceptions. |
String |
getBaseMessage()
Gets the base message for this exception. |
Collection |
getExceptions()
Gets the exceptions that are embedded in this collection of exceptions. |
String |
getMessage()
Gets detail messages for all exceptions that have been added to this collection of exceptions. |
boolean |
isEmpty()
Tests if any exceptions have been added to this collection of exceptions. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public ErrorCollectionException()
ErrorCollectionException
with no embedded exceptions.
public ErrorCollectionException(String baseMessage)
ErrorCollectionException
with the specified base message.
A base message is a String that describes this collection of exceptions.
baseMessage
- a String providing additional information about this collection of exceptions.public ErrorCollectionException(Throwable exception)
ErrorCollectionException
that specifies a single embedded exception.
exception
- the exception to be held by this collection of exceptions.Method Detail |
---|
public Collection getExceptions()
Collection
embedded in this
collection of exceptions.public boolean isEmpty()
public String getBaseMessage()
public String getMessage()
getMessage
in class Throwable
public void add(Throwable exception)
exception
- the exception to be added to this collection of exceptions.
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm Copyright 1996, 2009, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 API Reference 11g Release 1 (10.3.1) Part Number E13941-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |