Class ArtifactStoreIOException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.netflix.spinnaker.kork.artifacts.artifactstore.exceptions.ArtifactStoreIOException
-
- All Implemented Interfaces:
java.io.Serializable
public class ArtifactStoreIOException extends java.io.IOExceptionAn exception used by the artifact store (de)serializers since the (de)serialize methods only throw IOExceptions, and if any other exception is thrown jackson assumes it's some JSON error.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ArtifactStoreIOException(java.lang.Exception e)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> TthrowIOException(java.util.function.Supplier<T> fn)Helper methods to catch any exception thrown by a method and instead throw an ArtifactStoreIOException
-