From de70ad0b0c65f4ae5dbdb156e1b9aa1d22855b2c Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 19 Jan 2017 17:54:53 +0100 Subject: New loplugin:dynexcspec: Add @throws documentation, package Change-Id: I5d30cc2483452ba140cdce341677e872bffce6d1 --- package/inc/ByteGrabber.hxx | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'package/inc/ByteGrabber.hxx') diff --git a/package/inc/ByteGrabber.hxx b/package/inc/ByteGrabber.hxx index bfdb8e35e9a7..ec27a6aee5bc 100644 --- a/package/inc/ByteGrabber.hxx +++ b/package/inc/ByteGrabber.hxx @@ -48,13 +48,24 @@ public: void setInputStream (const css::uno::Reference < css::io::XInputStream >& xNewStream); // XInputStream + /// @throws css::io::NotConnectedException + /// @throws css::io::BufferSizeExceededException + /// @throws css::io::IOException + /// @throws css::uno::RuntimeException sal_Int32 SAL_CALL readBytes( css::uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead ) throw(css::io::NotConnectedException, css::io::BufferSizeExceededException, css::io::IOException, css::uno::RuntimeException); // XSeekable + /// @throws css::lang::IllegalArgumentException + /// @throws css::io::IOException + /// @throws css::uno::RuntimeException void SAL_CALL seek( sal_Int64 location ) throw(css::lang::IllegalArgumentException, css::io::IOException, css::uno::RuntimeException); + /// @throws css::io::IOException + /// @throws css::uno::RuntimeException sal_Int64 SAL_CALL getPosition( ) throw(css::io::IOException, css::uno::RuntimeException); + /// @throws css::io::IOException + /// @throws css::uno::RuntimeException sal_Int64 SAL_CALL getLength( ) throw(css::io::IOException, css::uno::RuntimeException); -- cgit v1.2.3