Class InvalidAnnotationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.google.jenkins.plugins.storage.InvalidAnnotationException
-
- All Implemented Interfaces:
Serializable
public class InvalidAnnotationException extends Exception
This exception is intended to be thrown by implementations of the hookAbstractBucketLifecycleManager.checkBucket(com.google.api.services.storage.model.Bucket)
when a bucket is not properly annotated.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidAnnotationException(com.google.api.services.storage.model.Bucket bucket)
Constructor for the exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.services.storage.model.Bucket
getBucket()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-