Plugins/PointSprite/ParaViewPlugin/Qvis/VisItException.cpp
VisItException::VisItException(const vtkstd::string &m)
{
    filename = "Unknown";
    vtkstd::string mtmp = vtkstd::string(m,0,16);
    if (mtmp.find(':') == vtkstd::string::npos)
        msg = /*vtkstd::string(Init::GetComponentName())*/ + ": " + m;
    else
    {
        if (mtmp.find("avtprep:") == 0 ||
            mtmp.find("cli:") == 0 ||
            mtmp.find("engine:") == 0 ||
      mtmp.find("gui:") == 0 ||
            mtmp.find("launcher:") == 0 ||
            mtmp.find("mdserver:") == 0 ||
      mtmp.find("viewer:") == 0)
            msg = m;
        else
            msg = /*vtkstd::string(Init::GetComponentName())*/ + ": " + m;
    }
    type     = "VisItException";
    line     = -1;
    log      = NULL; //&debug1_real;
}
// ****************************************************************************
//  Method:  VisItException constructor
//
//  Programmer: Kathleen Bonnell 
//  Creation:   April 27, 2001 
//
//  Modifications:
//  
//    Mark C. Miller, Sun Dec  3 12:20:11 PST 2006
//    Added component name to exception string
//
//    Mark C. Miller, Thu May 24 20:29:35 PDT 2007
//    Added filtering for component name
//
// ****************************************************************************
VisItException constructor
Programmer: Kathleen Bonnell
Creation:   April 27, 2001



Mark C. Miller, Sun Dec  3 12:20:11 PST 2006
Added component name to exception string

Mark C. Miller, Thu May 24 20:29:35 PDT 2007
Added filtering for component name
VisItException constructor Programmer : Kathleen Bonnell Creation : April 27 2001 Mark C . Miller Sun Dec 3 12 : 20 : 11 PST 2006 Added component name to exception string Mark C . Miller Thu May 24 20 : 29 : 35 PDT 2007 Added filtering for component name
VisItException::VisItException(const vtkstd::string &m)
{
    filename = "Unknown";
    vtkstd::string mtmp = vtkstd::string(m,0,16);
    if (mtmp.find(':') == vtkstd::string::npos)
        msg =  + ": " + m;
    else
    {
        if (mtmp.find("avtprep:") == 0 ||
            mtmp.find("cli:") == 0 ||
            mtmp.find("engine:") == 0 ||
      mtmp.find("gui:") == 0 ||
            mtmp.find("launcher:") == 0 ||
            mtmp.find("mdserver:") == 0 ||
      mtmp.find("viewer:") == 0)
            msg = m;
        else
            msg =  + ": " + m;
    }
    type     = "VisItException";
    line     = -1;
    log      = NULL; 
}
VisItException :: VisItException ( const vtkstd :: string & m ) { filename = " " ; vtkstd :: string mtmp = vtkstd :: string ( m , 0 , 16 ) ; if ( mtmp . find ( ' ' ) == vtkstd :: string :: npos ) msg = + " " + m ; else { if ( mtmp . find ( " " ) == 0 || mtmp . find ( " " ) == 0 || mtmp . find ( " " ) == 0 || mtmp . find ( " " ) == 0 || mtmp . find ( " " ) == 0 || mtmp . find ( " " ) == 0 || mtmp . find ( " " ) == 0 ) msg = m ; else msg = + " " + m ; } type = " " ; line = -1 ; log = NULL ; }
Method:  VisItException constructor
Programmer: Kathleen Bonnell
Creation:   April 27, 2001
Method : VisItException constructor Programmer : Kathleen Bonnell Creation : April 27 2001
/*vtkstd::string(Init::GetComponentName())*/ /*vtkstd::string(Init::GetComponentName())*/ //&debug1_real;