public Attachment attachFile ( long objectId , InputStream inputStream , String contentType , long contentLength , String fileName ) { throw new UnsupportedOperationException ( "Attachments can only be attached to comments, not discussions." ) ; }
Throws an UnsupportedOperationException .