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:
Serializable
An 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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TthrowIOException(Supplier<T> fn) Helper methods to catch any exception thrown by a method and instead throw an ArtifactStoreIOExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ArtifactStoreIOException
-
-
Method Details
-
throwIOException
Helper methods to catch any exception thrown by a method and instead throw an ArtifactStoreIOException- Throws:
IOException
-