|
Oracle® OLAP Java API Reference 11g Release 2 (11.2) E10794-06 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
oracle.olapi.OLAPIRuntimeException
oracle.olapi.BatchedException
public class BatchedException
A base class for runtime exceptions that bundle together a list of errors or warnings for later processing.
Method Summary | |
---|---|
java.util.List<java.lang.Exception> |
getErrors() Gets the exceptions of the BatchedException that are caused by errors. |
java.util.List<java.lang.Exception> |
getExceptions() Gets the exceptions that the BatchedException contains. |
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() Gets the exceptions of the BatchedException that are warnings. |
boolean |
isError() Indicates that the exception is caused by an error. |
boolean |
isWarning() Indicates that the exception is a warning about a potential problem. |
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 |
---|
public java.lang.String getLocalizedMessage(java.util.Locale locale)
java.util.Locale
object.getLocalizedMessage
in interface HasLocalizedMessage
getLocalizedMessage
in class OLAPIRuntimeException
locale
- The Locale
object that specifies the language for the message.String
that has the message in the specified language.public final boolean isWarning()
boolean
that is true
if the exception is a warning or false
if not.public final boolean isError()
boolean
that is true
if the exception is caused by an error or false
if not.public final java.util.List<java.lang.Exception> getExceptions()
BatchedException
contains.List
of Exception
objects.public final java.util.List<java.lang.Exception> getErrors()
BatchedException
that are caused by errors.List
of the Exception
objects that are caused by errors.public final java.util.List<java.lang.Exception> getWarnings()
BatchedException
that are warnings.List
of the Exception
objects that are warnings.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |