/**
  * 
  *
  * @return MErrorViewController
  */
 public function __construct($responseCode, MNumber $errorCode = null, MString $errorName = null, MString $errorDescription = null)
 {
     MAssertTypes('int', $responseCode);
     parent::__construct();
     $this->setResponseCode($responseCode);
     $this->errorView = new MHTMLErrorDocumentView($errorCode, $errorName, $errorDescription);
     $this->setView($this->errorView);
 }
 public function loadView()
 {
     parent::loadView();
     if (!$this->documentView) {
         $this->documentView = new MHTMLDocumentView();
         $this->documentView->addSubview(new MHTMLHeaderElementView(Sf("Welcome to Mango-Framework!")));
         $this->setView($this->documentView);
     }
 }