//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project / SIG
//
//File: sigexceptions.cpp
//
//Version: $Revision: 1.3 $
//
//State: $State: Exp $
//
//Date: $Date: 1999/01/21 14:26:59 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications Software and Multimedia
//
//Author:
//      Sami Raatikainen
//
//Description:
//      See corresponding header file.
//
//Copyright:
//      Copyright 1999 Helsinki University of Technology
//      ALL RIGHTS RESERVED BETWEEN JANUARY 1996 AND JUNE 1999.
//
//Licence:
//
//
//History: 

#include "sigexceptions.h"
#include "pf/debug.h"

// -----------------------------------------------------
sigException :: sigException(const sigException &other_)
    : pfException(other_),
      _cause(0),
      _type(0)
{
    return;
}

sigException :: sigException(string file_, int line_)
    : pfException(file_, line_),
      _cause(0),
      _type(0)
{
    return;
}

sigException :: sigException(string file_, int line_, pfUlong type_)
    : pfException(file_, line_),
      _type(type_)
{
    return;
}

sigException :: ~sigException(void)
{
    return;
}

string sigException :: getName(void) const
{
    string name("sigException");
    return name;
}

pfUlong sigException :: getCause(void) const
{
    return _cause;
}

pfUlong sigException :: getType(void) const
{
    return _type;
}

// -----------------------------------------------------
sigDiscardMessageException :: sigDiscardMessageException(
    const sigDiscardMessageException &other_)
    : sigException(other_)
{
    return;
}

sigDiscardMessageException :: sigDiscardMessageException(
    string file_, int line_)
    : sigException(file_, line_)
{
    return;
}

sigDiscardMessageException :: ~sigDiscardMessageException(void)
{
    return;
}

string sigDiscardMessageException :: getName(void) const
{
    string name("sigDiscardMessageException");
    return name;
}

//-------------------------------------------------------------------

sigUnrecognizedIEException :: sigUnrecognizedIEException(
    const sigUnrecognizedIEException &other_)
    : sigException(other_)
{
    return;
}

sigUnrecognizedIEException :: sigUnrecognizedIEException(
    string file_, int line_, pfUlong type_)
    : sigException(file_, line_, type_)
{
    return;
}

sigUnrecognizedIEException :: ~sigUnrecognizedIEException(void)
{
    return;
}

string sigUnrecognizedIEException :: getName(void) const
{
    string name("sigUnrecognizedIEException");
    return name;
}

//--------------------------------------------------------------------

sigMandatoryIEMissingException :: sigMandatoryIEMissingException(
    const sigMandatoryIEMissingException &other_)
    : sigException(other_)
{
    return;
}

sigMandatoryIEMissingException :: sigMandatoryIEMissingException(
    string file_, int line_, pfUlong type_)
    : sigException(file_, line_, type_)
{
    return;
}

sigMandatoryIEMissingException :: ~sigMandatoryIEMissingException(void)
{
    return;
}

string sigMandatoryIEMissingException :: getName(void) const
{
    string name("sigMandatoryIEMissingException");
    return name;
}

//------------------------------------------------------------------------

sigMandatoryIEContentErrorException :: sigMandatoryIEContentErrorException(
    const sigMandatoryIEContentErrorException &other_)
    : sigException(other_)
{
    return;
}

sigMandatoryIEContentErrorException :: sigMandatoryIEContentErrorException(
    string file_, int line_, pfUlong type_)
    : sigException(file_, line_, type_)
{
    return;
}

sigMandatoryIEContentErrorException ::
~sigMandatoryIEContentErrorException(void)
{
    return;
}

string sigMandatoryIEContentErrorException :: getName(void) const
{
    string name("sigMandatoryIEContentErrorException");
    return name;
}

//------------------------------------------------------------------

sigNonMandatoryIEContentErrorException ::
sigNonMandatoryIEContentErrorException(
    const sigNonMandatoryIEContentErrorException &other_)
    : sigException(other_)
{
    return;
}

sigNonMandatoryIEContentErrorException ::
sigNonMandatoryIEContentErrorException(string file_, int line_, pfUlong type_)
    : sigException(file_, line_, type_)
{
    return;
}

sigNonMandatoryIEContentErrorException ::
~sigNonMandatoryIEContentErrorException(void)
{
    return;
}

string sigNonMandatoryIEContentErrorException :: getName(void) const
{
    string name("sigNonMandatoryIEContentErrorException");
    return name;
}
