title: no appropriate default constructor available . (when creating a child class)
body: <p>I am creating some custom exception classes doing the following</p>
  
  <pre><code>class GXException
  {
  public:
      GXException(LPCWSTR pTxt):pReason(pTxt){};
      LPCWSTR pReason;
  };
  
  class GXVideoException : GXException
  {
  public:
      GXVideoException(LPCWSTR pTxt):pReason(pTxt){};
      LPCWSTR pReason;
  };
  </code></pre>
  
  <p>When I created GXVideoException to extend GXException, I get the following error </p>
  
  <pre><code>1&gt;c:\users\numerical25\desktop\intro todirectx\godfiles\gxrendermanager\gxrendermanager\gxrendermanager\gxexceptions.h(14) : error C2512: 'GXException' : no appropriate default constructor available
  </code></pre>