oracle.olapi
Class BatchedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
oracle.olapi.OLAPIRuntimeException
oracle.olapi.BatchedException
- All Implemented Interfaces:
- java.io.Serializable, HasLocalizedMessage
- Direct Known Subclasses:
- UpgradeException
public class BatchedException
- extends OLAPIRuntimeException
Base exception class used for bundling a list of errors or warnings
together for later processing.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getLocalizedMessage
public java.lang.String getLocalizedMessage(java.util.Locale locale)
- Gets a message in the language specified by the
java.util.Locale object.
- Specified by:
getLocalizedMessage in interface HasLocalizedMessage- Overrides:
getLocalizedMessage in class OLAPIRuntimeException
- Parameters:
locale - The Locale object that specifies the language
for the message.
- Returns:
- A
String that has the message in the specified
language.
isWarning
public final boolean isWarning()
isError
public final boolean isError()
getExceptions
public final java.util.List<java.lang.Exception> getExceptions()
getErrors
public final java.util.List<java.lang.Exception> getErrors()
getWarnings
public final java.util.List<java.lang.Exception> getWarnings()