\section{error\_\-handler.h File Reference}
\label{error_handler_h}\index{error_handler.h@{error\_\-handler.h}}
{\tt \#include $<$stdio.h$>$}\par
{\tt \#include $<$signal.h$>$}\par


Include dependency graph for error\_\-handler.h:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=65pt]{error_handler_h_incl}
\end{center}
\end{figure}


This graph shows which files directly or indirectly include this file:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=420pt]{error_handler_h_dep_incl}
\end{center}
\end{figure}
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define {\bf DIE}(TEXT)
\item 
\#define {\bf WARN}(TEXT)
\item 
\#define {\bf WARN\_\-IF}(EXP, TEXT)
\end{CompactItemize}


\subsection{Define Documentation}
\index{error_handler.h@{error\_\-handler.h}!DIE@{DIE}}
\index{DIE@{DIE}!error_handler.h@{error\_\-handler.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define DIE(TEXT)}\label{error_handler_h_a0}


{\bf Value:}\footnotesize\begin{verbatim}do { \
fprintf (stderr, "\n\nERROR: " #TEXT "\n"); \
fprintf (stderr, "+%d %s\n\n", __LINE__, __FILE__); \
raise (SIGQUIT); \
} while (0)
\end{verbatim}\normalsize 


Definition at line 7 of file error\_\-handler.h.

Referenced by Anim\-Frame::Anim\-Frame(), Atom\-Buildup::Atom\-Buildup(), Envelope::Blur(), Envelope::Calc\-Gradient(), Envelope\-Constraint::Compare(), Envelope::Compare(), Bin\-Envelope\-Constraint::Compare(), Envelope\-Constraint::Pre\-Setup(), Envelope::Read\-Avs\-Txt(), Molecule::Reallocate(), Relax\-Subset::Relax\-Subset(), Anim\-Frame::Set\_\-Output\_\-Stream(), Stop\-Eval::Stop\-Eval(), Constraint\-Manager::Turn\-Atom\-On(), Envelope::Upsize(), Constraint\-Manager::add(), Process::assert\-Order(), Constraint::assert\-Validity(), Position\-Constraint::compute\-Stress(), Envelope\-Constraint::compute\-Stress(), Distance\-Constraint::compute\-Stress(), Bin\-Envelope\-Constraint::compute\-Stress(), Atom\-Constraint::compute\-Stress(), Position\-Constraint::d\-Stress(), Distance\-Constraint::d\-Stress(), Atom\-Constraint::d\-Stress(), Matrix::det(), Matrix::find\-Eigen\-Vectors(), Constraint\-Registry::get\-Constraint(), Constraint\-Registry::get\-Int\-Type(), Constraint\-Manager::get\-Parents(), Matrix::identity(), jd\-Err\_\-Eval::jd\-Err\_\-Eval(), jd\-Iterator::jd\-Iterator(), main(), Constraint::notify\-Off(), Atom\-Constraint::notify\-Remove(), Atom\-Constraint::notify\-Valid(), Matrix::operator $\ast$(), Matrix::operator()(), Envelope::operator()(), Matrix::operator+(), Matrix::operator-(), Constraint\-Registry::read\-Constraints(), Molecule::read\-Xmol(), Constraint\-Manager::register\-Envelope(), Constraint\-Manager::set\-Molecule(), Constraint\-Manager::set\-Position(), Molecule::skip\-Xmol(), and Constraint::stress().\index{error_handler.h@{error\_\-handler.h}!WARN@{WARN}}
\index{WARN@{WARN}!error_handler.h@{error\_\-handler.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define WARN(TEXT)}\label{error_handler_h_a1}


{\bf Value:}\footnotesize\begin{verbatim}do { \
fprintf (stderr, "\n\nWarning: " #TEXT "\n +%d %s\n\n", __LINE__, __FILE__ ); \
} while (0)
\end{verbatim}\normalsize 


Definition at line 14 of file error\_\-handler.h.

Referenced by Envelope\-Constraint::Align\-Modelto\-COM(), Envelope::Center(), Molecule::Reallocate(), Atom\-Registry::Set\-Type(), and main().\index{error_handler.h@{error\_\-handler.h}!WARN_IF@{WARN\_\-IF}}
\index{WARN_IF@{WARN\_\-IF}!error_handler.h@{error\_\-handler.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define WARN\_\-IF(EXP, TEXT)}\label{error_handler_h_a2}


{\bf Value:}\footnotesize\begin{verbatim}do { if (EXP) \
         fprintf (stderr, "\n\nWarning: " #EXP #TEXT "\n +%d %s\n\n", __LINE__,  __FILE__ ); \
} while (0)
\end{verbatim}\normalsize 


Definition at line 19 of file error\_\-handler.h.

Referenced by Envelope::Build().