Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add formatter for copy_rai_into_ndarray exceptions
This formatter converts the exceptions from copy_rai_into_ndarray into a more human readable format. **Before:** Exception: (ClassCastException("class net.imglib2.type.logic.BitType cannot be cast to class net.imglib2.type.logic.NativeBoolType (net.imglib2.type.logic.BitType and net.imglib2.type.logic.NativeBoolType are in unnamed module of loader 'app')"), ClassCastException("class net.imglib2.type.logic.BitType cannot be cast to class net.imglib2.type.logic.NativeBoolType (net.imglib2.type.logic.BitType and net.imglib2.type.logic.NativeBoolType are in unnamed module of loader 'app')"), RuntimeException("java.util.concurrent.ExecutionException: java.lang.ClassCastException: class net.imglib2.type.logic.BitType cannot be cast to class net.imglib2.type.logic.NativeBoolType (net.imglib2.type.logic.BitType and net.imglib2.type.logic.NativeBoolType are in unnamed module of loader 'app')")) **After:** Exception: Error: Unsupported type cast via net.imglib2.util.ImgUtil.copy Source type: net.imglib2.type.logic.BitType Target type: net.imglib2.type.logic.NativeBoolType Error: Unsupported type cast via net.imglib2.util.Images.copy Source type: net.imglib2.type.logic.BitType Target type: net.imglib2.type.logic.NativeBoolType Error: Unsupported type cast via net.imagej.ops.copy.CopyNamespace.rai Source type: net.imglib2.type.logic.BitType Target type: net.imglib2.type.logic.NativeBoolType
- Loading branch information