public class CompositeOwsException extends OwsExceptionReport
OwsExceptionReport which can contain several
OwsExceptionReports which were thrown| Constructor and Description |
|---|
CompositeOwsException() |
CompositeOwsException(java.util.Collection<? extends OwsExceptionReport> exceptions) |
CompositeOwsException(OwsExceptionReport... exceptions) |
| Modifier and Type | Method and Description |
|---|---|
CompositeOwsException |
add(java.util.Collection<? extends OwsExceptionReport> exceptions) |
CompositeOwsException |
add(OwsExceptionReport... exceptions) |
CompositeOwsException |
addAllOf(CompositeOwsException exceptions) |
static <T> void |
check(java.util.stream.Stream<? extends T> stream,
ThrowingConsumer<? super T,? extends OwsExceptionReport> consumer) |
java.util.List<? extends CodedException> |
getExceptions() |
boolean |
hasExceptions() |
boolean |
isEmpty() |
int |
size() |
void |
throwIfNotEmpty() |
static <T> java.util.stream.Collector<? super T,?,CompositeOwsException> |
toCompositeException(ThrowingConsumer<? super T,? extends OwsExceptionReport> fun) |
<T> java.util.Optional<T> |
wrap(ThrowingCallable<T,OwsExceptionReport> runnable) |
void |
wrap(ThrowingRunnable<OwsExceptionReport> runnable) |
getMessage, getNamespace, getStatus, getVersion, hasStatus, setStatus, setVersionpublic CompositeOwsException(OwsExceptionReport... exceptions)
public CompositeOwsException(java.util.Collection<? extends OwsExceptionReport> exceptions)
public CompositeOwsException()
public final CompositeOwsException addAllOf(CompositeOwsException exceptions)
public final CompositeOwsException add(java.util.Collection<? extends OwsExceptionReport> exceptions)
public final CompositeOwsException add(OwsExceptionReport... exceptions)
public java.util.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> java.util.Optional<T> wrap(ThrowingCallable<T,OwsExceptionReport> runnable)
public static <T> java.util.stream.Collector<? super T,?,CompositeOwsException> toCompositeException(ThrowingConsumer<? super T,? extends OwsExceptionReport> fun)
public static <T> void check(java.util.stream.Stream<? extends T> stream,
ThrowingConsumer<? super T,? extends OwsExceptionReport> consumer)
throws OwsExceptionReport
OwsExceptionReportCopyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.