public InvalidAuthorizedTaskTokenException(ValidateAuthorizedTaskTokenQuery query, string message)
            : base(message)
        {
            if (query == null)
            {
                return;
            }

            Token = query.Token;
            AuthorizedTaskTypeCode = query.AuthorizedTaskTypeCode;
        }
 public InvalidAuthorizedTaskTokenException(ValidateAuthorizedTaskTokenQuery query)
     : this(query, MESSAGE)
 {
 }