BALL 1.5.0
Loading...
Searching...
No Matches
BALL::Client::NoPersistentObject Class Reference

#include <BALL/CONCEPT/client.h>

Inheritance diagram for BALL::Client::NoPersistentObject:
BALL::Exception::GeneralException

Public Member Functions

 NoPersistentObject (const char *file, int line)
 
- Public Member Functions inherited from BALL::Exception::GeneralException
 GeneralException ()
 Default constructor.
 
 GeneralException (const char *file, int line)
 Constructor.
 
 GeneralException (const char *file, int line, const String &name, const String &message)
 Constructor.
 
 GeneralException (const GeneralException &exception)
 Copy constructor.
 
virtual ~GeneralException () throw ()
 Destructor.
 
const char * getName () const
 Returns the name of the exception.
 
const char * getMessage () const
 Returns the error message of the exception.
 
void setMessage (const std::string &message)
 Modify the exception's error message.
 
int getLine () const
 Returns the line number where it occurred.
 
const char * getFile () const
 Returns the file where it occurred.
 

Additional Inherited Members

- Protected Attributes inherited from BALL::Exception::GeneralException
const char * file_
 
int line_
 
std::string name_
 
std::string message_
 

Detailed Description

NoPersistentObject exception class. This exception will be thrown whenever an object that is not a PersistentObject will be tried to sent through the client. Only PersistentObject's can be sent through this client.

See also
Exception::GeneralException

Definition at line 91 of file client.h.

Constructor & Destructor Documentation

◆ NoPersistentObject()

BALL::Client::NoPersistentObject::NoPersistentObject ( const char * file,
int line )