Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.management.utils
Class ErrorCollectionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by weblogic.management.utils.ErrorCollectionException

All Implemented Interfaces:
Serializable

public class ErrorCollectionException
extends Exception

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.

See Also:
Serialized Form

Field Summary
static long serialVersionUID
           

 

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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, 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

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values

Method Detail

getExceptions

public Collection getExceptions()
Gets the exceptions that are embedded in this collection of exceptions.
Returns:
the Collection embedded in this collection of exceptions.

isEmpty

public boolean isEmpty()
Tests if any exceptions have been added to this collection of exceptions.
Returns:
true if no exceptions have been added to this collection of exceptions.

getBaseMessage

public String getBaseMessage()
Gets the base message for this exception.
Returns:
the base message that was specified when this exception was created.

getMessage

public String getMessage()
Gets detail messages for all exceptions that have been added to this collection of exceptions. A detail message is a String that describes a particular exception.
Overrides:
getMessage in class Throwable
Returns:
a String representation of the detail messages for all embedded exceptions.

add

public void add(Throwable exception)
Adds an exception to this collection of exceptions.
Parameters:
exception - the exception to be added to this collection of exceptions.

Skip navigation links

Copyright 1996, 2015, 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
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09