public class WriterErrorMessageHelper extends Object
StackWriter
s.Modifier and Type | Method and Description |
---|---|
static <T extends StackWriter> |
generalWriteException(Class<T> writerClass,
Path path,
Exception cause)
Creates a
ImageIOException with an error message that image-writing failed. |
public static <T extends StackWriter> ImageIOException generalWriteException(Class<T> writerClass, Path path, Exception cause)
ImageIOException
with an error message that image-writing failed.T
- the writer in which the writing failed.writerClass
- class corresponding to <T>
.path
- the path that the image was been written to, when failure occurred.cause
- the cause of failure.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.