LibreOffice Module ucbhelper (master)  1
Public Member Functions | List of all members
ucbhelper::SimpleIOErrorRequest Class Referencefinal

This class implements a simple IO error interaction request. More...

#include <simpleioerrorrequest.hxx>

Inheritance diagram for ucbhelper::SimpleIOErrorRequest:
[legend]
Collaboration diagram for ucbhelper::SimpleIOErrorRequest:
[legend]

Public Member Functions

 SimpleIOErrorRequest (const css::ucb::IOErrorCode eError, const css::uno::Sequence< css::uno::Any > &rArgs, const OUString &rMessage, const css::uno::Reference< css::ucb::XCommandProcessor > &xContext)
 Constructor. More...
 
- Public Member Functions inherited from ucbhelper::InteractionRequest
 InteractionRequest (const css::uno::Any &rRequest)
 Constructor. More...
 
void setContinuations (const css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > &rContinuations)
 This method sets the continuations for the request. More...
 
virtual css::uno::Any SAL_CALL getRequest () override
 
virtual css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > SAL_CALL getContinuations () override
 
rtl::Reference< InteractionContinuation > const & getSelection () const
 After passing this request to XInteractionHandler::handle, this method returns the continuation that was chosen by the interaction handler. More...
 
void setSelection (const rtl::Reference< InteractionContinuation > &rxSelection)
 This method sets a continuation for the request. More...
 

Additional Inherited Members

- Protected Member Functions inherited from ucbhelper::InteractionRequest
void setRequest (const css::uno::Any &rRequest)
 
 InteractionRequest ()
 
virtual ~InteractionRequest () override
 

Detailed Description

This class implements a simple IO error interaction request.

Instances can be passed directly to XInteractionHandler::handle(...). Each instance contains an InteractiveIOException and one interaction continuation: "Abort".

See also
css::ucb::InteractiveIOException
InteractionAbort

Definition at line 39 of file simpleioerrorrequest.hxx.

Constructor & Destructor Documentation

SimpleIOErrorRequest::SimpleIOErrorRequest ( const css::ucb::IOErrorCode  eError,
const css::uno::Sequence< css::uno::Any > &  rArgs,
const OUString &  rMessage,
const css::uno::Reference< css::ucb::XCommandProcessor > &  xContext 
)

Constructor.

Parameters
xContextcontains the command processor that executes the command related to the request.
eErroris the error code to pass along with the request.

qparam rArgs are additional parameters according to the specification of the error code. Refer to com/sun/star/ucb/IOErrorCode.idl for details.

Definition at line 28 of file simpleioerrorrequest.cxx.

References com::sun::star::uno::makeAny().


The documentation for this class was generated from the following files: