NAME

        LipmError::ObjectException - a class to define specific exception of Objects


SYNOPSIS

        throw LipmError::ObjectException( $class_name, KEYWORD, -text => $msg );
        throw LipmError::ObjectException( $obj, KEYWORD, -text => $msg );
        catch LipmError::ObjectException with {...}


DESCRIPTION

        With this class you can describe all type of exception encountered by object.
        - try to access to an attribute that doesn't exist
        - an attribute doesn't have a correct value


AUTHOR

Sebastien Letort : sebastien.letort@toulouse.inra.fr

Object new

 Title        : new
 Usage        : my $o_err = new LipmError::ObjectException( $obj|$class_name, KEYWORD, -text => $msg);
 Prerequisite : it's better for an error to be catch !
 Object       : Constructor, initialize the object
 Returns      : the object.
 Args         : none
 Globals      : none