text: /*
   * Copyright (C) 2005 National Association of REALTORS(R)
   *
   * All rights reserved.
   *
   * Permission is hereby granted, free of charge, to any person
   * obtaining a copy of this software and associated documentation
   * files (the "Software"), to deal in the Software without
   * restriction, including without limitation the rights to use, copy,
   * modify, merge, publish, distribute, and/or sell copies of the
   * Software, and to permit persons to whom the Software is furnished
   * to do so, provided that the above copyright notice(s) and this
   * permission notice appear in all copies of the Software and that
   * both the above copyright notice(s) and this permission notice
   * appear in supporting documentation.
   */
  #ifndef LIBRETS_RETS_SQL_EXCEPTION_H
  #define LIBRETS_RETS_SQL_EXCEPTION_H
  /** 
   * @file RetsSqlException.h
   * Contains the RetsSqlException class.
   */
  #include "librets/RetsException.h"
  
  namespace librets {
  
  /**
   * RetsSqlException is an implementation of RetsException that is
   * thrown for errors in the Sql to Dmql parser.
   */
  class RetsSqlException : public RetsException
  {
    public:
      /// @cond MAINTAINER
      /**
       * Constructor with the error message.
       * @param message A string containing the error message.
       */
      RetsSqlException(std::string message);
      virtual ~RetsSqlException() throw();
      /// @endcond
      
      /**
       * Returns the name of this exception.
       * @return Always returns "RetsSqlException"
       */
      virtual std::string GetName() const throw();
  };
  
  };
  
  #endif
  
  /* Local Variables: */
  /* mode: c++ */
  /* End: */
  