// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _Aspect_BadAccess_HeaderFile
#define _Aspect_BadAccess_HeaderFile

#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Standard_DefineException.hxx>
#include <Standard_SStream.hxx>
#include <Standard_DomainError.hxx>
#include <Handle_Aspect_BadAccess.hxx>

#if !defined No_Exception && !defined No_Aspect_BadAccess
  #define Aspect_BadAccess_Raise_if(CONDITION, MESSAGE) \
  if (CONDITION) Aspect_BadAccess::Raise(MESSAGE);
#else
  #define Aspect_BadAccess_Raise_if(CONDITION, MESSAGE)
#endif

DEFINE_STANDARD_EXCEPTION(Aspect_BadAccess, Standard_DomainError)

#endif // _Aspect_BadAccess_HeaderFile
