RMS SDK for C++  0.2.1
A client library for using Microsoft RMS from Linux.
Public Types | Public Member Functions | List of all members
rmscore::exceptions::RMSNetworkException Class Reference

Network error. More...

#include <RMSExceptions.h>

Inheritance diagram for rmscore::exceptions::RMSNetworkException:
rmscore::exceptions::RMSLogicException rmscore::exceptions::RMSException

Public Types

enum  Reason {
  ServerError = 0, UserNotConsented, ServiceNotAvailable, OnPremNotSupported,
  InvalidPL, ServiceDisabled, DeviceRejected, NeedsOnline
}
 Possible seasons for network error.
 
- Public Types inherited from rmscore::exceptions::RMSException
enum  ExceptionTypes { LogicError = 0 }
 Type of exception.
 
enum  ErrorTypes {
  InvalidArgument = 0, NullPointer, NotFound, NetworkError,
  CryptoError, StreamError, PFileError, RightsError
}
 Type of error.
 

Public Member Functions

 RMSNetworkException (const std::string &message, Reason reason) _NOEXCEPT
 
 RMSNetworkException (const char *const &message, Reason reason) _NOEXCEPT
 
virtual Reason reason () const _NOEXCEPT
 
- Public Member Functions inherited from rmscore::exceptions::RMSLogicException
 RMSLogicException (const int error, const std::string &message) _NOEXCEPT
 
 RMSLogicException (const int error, const char *const &message) _NOEXCEPT
 
- Public Member Functions inherited from rmscore::exceptions::RMSException
 RMSException (const ExceptionTypes type, const int error, const std::string &message) _NOEXCEPT
 
 RMSException (const ExceptionTypes type, const int error, const char *const &message) _NOEXCEPT
 
virtual const char * what () const _NOEXCEPT override
 
virtual ExceptionTypes type () const _NOEXCEPT
 
virtual int error () const _NOEXCEPT
 

Detailed Description

Network error.


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