public class BatchedException extends OLAPIRuntimeException
Modifier and Type | Method and Description |
---|---|
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.
|
getLocalizedMessage, getParameters, toString
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.