public class CompositeOwsException extends OwsExceptionReport
OwsExceptionReport which can contain several
OwsExceptionReports which were thrown| Constructor and Description |
|---|
CompositeOwsException() |
CompositeOwsException(Collection<? extends OwsExceptionReport> exceptions) |
CompositeOwsException(OwsExceptionReport... exceptions) |
| Modifier and Type | Method and Description |
|---|---|
CompositeOwsException |
add(Collection<? extends OwsExceptionReport> exceptions) |
CompositeOwsException |
add(OwsExceptionReport... exceptions) |
CompositeOwsException |
addAllOf(CompositeOwsException exceptions) |
static <T> void |
check(Stream<? extends T> stream,
ThrowingConsumer<? super T,? extends OwsExceptionReport> consumer) |
List<? extends CodedException> |
getExceptions() |
boolean |
hasExceptions() |
boolean |
isEmpty() |
int |
size() |
void |
throwIfNotEmpty() |
static <T> Collector<? super T,?,CompositeOwsException> |
toCompositeException(ThrowingConsumer<? super T,? extends OwsExceptionReport> fun) |
<T> Optional<T> |
wrap(ThrowingCallable<T,OwsExceptionReport> runnable) |
void |
wrap(ThrowingRunnable<OwsExceptionReport> runnable) |
getMessage, getNamespace, getStatus, getVersion, hasStatus, setStatus, setVersionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CompositeOwsException(OwsExceptionReport... exceptions)
public CompositeOwsException(Collection<? extends OwsExceptionReport> exceptions)
public CompositeOwsException()
public final CompositeOwsException addAllOf(CompositeOwsException exceptions)
public final CompositeOwsException add(Collection<? extends OwsExceptionReport> exceptions)
public final CompositeOwsException add(OwsExceptionReport... exceptions)
public List<? extends CodedException> getExceptions()
getExceptions in class OwsExceptionReportpublic void throwIfNotEmpty()
throws CompositeOwsException
CompositeOwsExceptionpublic int size()
public boolean isEmpty()
public boolean hasExceptions()
public void wrap(ThrowingRunnable<OwsExceptionReport> runnable)
public <T> Optional<T> wrap(ThrowingCallable<T,OwsExceptionReport> runnable)
public static <T> Collector<? super T,?,CompositeOwsException> toCompositeException(ThrowingConsumer<? super T,? extends OwsExceptionReport> fun)
public static <T> void check(Stream<? extends T> stream, ThrowingConsumer<? super T,? extends OwsExceptionReport> consumer) throws OwsExceptionReport
OwsExceptionReportCopyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.