p =& Wpsso::get_instance(); if ( $this->p->debug->enabled ) { $this->p->debug->mark(); } parent::__construct( $errstr, $errcode, $severity, $filename, $lineno, $previous ); // Calls SucomErrorException::__construct(). } public function errorMessage( $ret = false ) { /* * getMessage(); // Message of exception. * getCode(); // Code of exception. * getFile(); // Source filename. * getLine(); // Source line. * getTrace(); // An array of the backtrace(). * getPrevious(); // Previous exception. * getTraceAsString(); // Formatted string of trace. */ $errstr = $this->getMessage(); if ( $this->p->debug->enabled ) { $this->p->debug->log( $errstr ); } $this->p->notice->err( $errstr ); } } }