CSLE.CLS_Expression_Throw.ComputeValue C# (CSharp) Method

ComputeValue() public method

public ComputeValue ( CLS_Content content ) : CLS_Content.Value
content CLS_Content
return CLS_Content.Value
        public CLS_Content.Value ComputeValue(CLS_Content content)
        {
            content.InStack(this);
            CLS_Content.Value v = listParam[0].ComputeValue(content);
            Exception err = v.value as Exception;
            if (err != null)
            {
                throw err;
            }
            else
            {
                throw new Exception(v.ToString());
            }
        }