create Throws Spec
fun createThrowsSpec(exceptions: Collection<TypeName>, useSiteTarget: AnnotationSpec.UseSiteTarget? = null): AnnotationSpec
Content copied to clipboard
Return
a @ThrowsAnnotationSpec representation of a given collection of exceptions.