>DansTonCode();

Citation de code source en C#284

 19 Juin, 2016 à 01:30
var _message = "";
public NetiDException(string message) : base(message)
		{

            var log = new Logger(GetType().FullName);
            log.Debug("NetiDException Message: " + message);

			_message = message;

            //TODO: What is this? A switch with one case that returns the exact same message? Commented this out and just return the message until we know why the swith has been put there.

            //if (message.StartsWith("CKR_"))
            //{
            //    // This is a PKCS#11 error
            //    switch (message)
            //    {
            //        case "CKR_ATTRIBUTE_VALUE_INVALID":
            //            _message = "CKR_ATTRIBUTE_VALUE_INVALID";
break;
        }
    }
}

Allez voir les citations similaires

Partagez cette citation