Skip navigation links

Oracle® OLAP Java API Reference
11g Release 1 (11.1)

B28128-03


oracle.olapi
Class BatchedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by oracle.olapi.OLAPIRuntimeException
                  extended by 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

Method Summary
 java.util.List<java.lang.Exception> getErrors()
           
 java.util.List<java.lang.Exception> getExceptions()
           
 java.lang.String getLocalizedMessage(java.util.Locale locale)
          Gets a message in the language specified by the java.util.Locale object.
 java.util.List<java.lang.Exception> getWarnings()
           
 boolean isError()
           
 boolean isWarning()
           

 

Methods inherited from class oracle.olapi.OLAPIRuntimeException
getLocalizedMessage, toString

 

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

 

Method Detail

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()

Skip navigation links

Copyright © 2002, 2008, Oracle. All rights reserved.