Ignore:
Timestamp:
02/03/13 13:46:17 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Getting multiple values works

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/client/c/hu/varadiistvan/xplra/Exception.h

    r14 r19  
    177177     * Construct the exception
    178178     */
    179     NotConnectedException();
     179    NotConnectedException() throw();
     180};
     181
     182//------------------------------------------------------------------------------
     183
     184/**
     185 * Exception thrown when we want to get or set a dataref in a
     186 * MultiBuffer into or from a value of the wrong type.
     187 */
     188class TypeMismatchException : public Exception
     189{
     190public:
     191    /**
     192     * Construct the exception
     193     */
     194    TypeMismatchException() throw();
     195};
     196
     197//------------------------------------------------------------------------------
     198
     199/**
     200 * Exception thrown when we want to get or set a dataref with an
     201 * invalid ID.
     202 */
     203class InvalidIDException : public Exception
     204{
     205public:
     206    /**
     207     * Construct the exception
     208     */
     209    InvalidIDException() throw();
    180210};
    181211
     
    221251//------------------------------------------------------------------------------
    222252
    223 inline NotConnectedException::NotConnectedException() :
     253inline NotConnectedException::NotConnectedException() throw() :
    224254    Exception("xplra::NotConnectedException: not connected to the simulator")
     255{
     256}
     257
     258//------------------------------------------------------------------------------
     259//------------------------------------------------------------------------------
     260
     261inline TypeMismatchException::TypeMismatchException() throw() :
     262    Exception("xplra::TypeMismatchException")
     263{
     264}
     265
     266//------------------------------------------------------------------------------
     267//------------------------------------------------------------------------------
     268
     269inline InvalidIDException::InvalidIDException() throw() :
     270    Exception("xplra::InvalidIDException")
    225271{
    226272}
Note: See TracChangeset for help on using the changeset viewer.